-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
[v2] Fix Gatsbygram Cypress tests #7607
Conversation
vtenfys
commented
Aug 24, 2018
•
edited
Loading
edited
- Add delays to Cypress tests to wait until pages are ready after loading/clicking etc
- Force a click where Cypress previously threw an error due to one of its children covering it
- Clicking its children produces the same result, but it's not predictable which one Cypress will detect in front since there are multiple
100ms worked locally but it looks like it's too short for Travis. I'll see if I can do this programmatically instead, or if not I'll increase the delay |
Deploy preview for using-contentful failed. Built with commit 4cce450639ca40a7ecd8d50c7e9103b3f012e9af https://app.netlify.com/sites/using-contentful/deploys/5b8081e7b13fb179214dd5a0 |
Finally got it working locally and on Travis! |
I've decided to stop work on fixing the Windows tests - after more testing it seems to be a bug in the way Babel handles globs on Windows |
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.
Thanks @davidbailey00 ! 🙏