-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remind users to assert for unique content on each new page #46
base: main
Are you sure you want to change the base?
Conversation
Closes #44 Tasks --- - Modal to show reminder to assert for unique content on each new page
@coolprobn This is close, but there's a big issue: The JS fires the reminder even during normal running of system tests, which breaks the entire Bullet Train test suite. Instead, we need to make it so that this new reminder feature is only activated after the test encounters the
You might be able to take advantage of |
@coolprobn Also, please make sure the Bullet Train test suite is passing when linked to this branch for it's |
@andrewculver I should have checked and tested properly, sorry. I will fix as required and push new changes soon. Thanks. |
@andrewculver I have added the following code to reload the page before we stop the system test with magic test:
This was added because new variable that we are using to know if we are currently in magic test session was not being picked up. It is not recognized without page reload because all HTML and JS Scripts are rendered before this new variable is set inside UX hasn't changed and there is a very minimum chance that user know what happened. I would love to hear your thoughts if there are any other solutions on your mind to resolve this issue. |
Closes #44
Tasks
Issue with default alert
When subscribing to on page load event and trying to show normal alert box from the browser it throws the error:
Due to this, I have implemented a simple JS and CSS modal for this feature instead of using alert.
UI Screenshot