-
Notifications
You must be signed in to change notification settings - Fork 313
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
Add tests for instant results feature #2851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MARQAS, having in mind that we don't need small atomic tests we can merge all the following tests in just one:
Can see instant results list
Can display the number of results
Can show the modal in the same state after a reload
Can update the results after changing the search term
I am not 100% sure about the reason why it is failing on EP.io but it is probably a timeout. Can you try capturing the AJAX request and waiting for it to be completed before checking if "Blog" is visible?
Description of the Change
This PR adds the cypress test for the Instant results feature.
Closes #
Alternate Designs
Possible Drawbacks
Verification Process
Checklist:
Changelog Entry
Added: Test for instant results feature.
Credits
Props @MARQAS