-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Using cy.route2, unable to find alias when running in CI (Github actions) #8984
Comments
Actually, I now have this happening in my local machine so at least I can start troubleshooting a little bit easier. Moving the |
Okay, now running locally in Electron but with the
Seems that it would be related to this: #8926, just strange that it works fine when using |
Sorry for the running commentary, but... okay, I moved all my route2 setup out of the |
Adding |
I think you're running into this issue - which is a timing issue, so it makes sense that it may only happen during Duplicate of #8926 |
Current behavior
I have some tests that are passing using
open
and when usingrun
on my local machine, but which are failing in a Github action. Error isCypressError: cy.wait() could not find a registered alias for: ...
.Desired behavior
The aliased routes in the
beforeEach
should be available (note they are correctly available in previous and later tests)Test code to reproduce
Minimal setup is here: https://github.com/ChrisSargent/cypress-test-tiny.
Versions
Cypress 5.5.0
The text was updated successfully, but these errors were encountered: