-
Notifications
You must be signed in to change notification settings - Fork 39
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
cy.visit() failed trying to load #57
Comments
Hi @cop-portal Do you have a redirect in the netlify settings for all non-base URLs to
I have opened issue #59 to add the fallback for unknown URLs as an option |
Should be resolved by https://github.com/cypress-io/netlify-plugin-cypress/releases/tag/v1.4.0 with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions
Describe the bug
Cypess passes all tests locally. However, it failed in Netlify CI. Specifically, I'm getting this error below when the plugin runs in Netlify:
I've got this setup
"baseUrl": "http://localhost:3000"
incypress.json
. Even if I tried updating basUrl port to 8080, I still get the same error.I've also tried to set up a preBuild for the plugin, there are no loading issues of the prebuild test. However, the second test (postBuild) fails due to the 404 loading issue.
My website is not a static website. It's calling contentful API instead. I wonder if the plug-in only can work for a static website? Or we need to make a tweak somewhere?
Logs and screenshots
The text was updated successfully, but these errors were encountered: