Hi, I’m trying to write a test to check that our “night mode” button is working properly.
Right now the only change that happens in the code when the button is pressed is that it goes from:
< body id=“ourwebsite” class >
< body id=“ourwebsite” class=“darkness” >
I’ve tried using the feature “Verify Text Present” but got the error message “Text ‘darkness’ is not present on page”. Is there another way to test going from day to night mode (and back) that I’m possibly missing?