does not find cypress.config.js when using Cypress v10
See original GitHub issueWhen upgrading to Cypress v10 I saw this error message in CI:
You are attempting to use Cypress with an older config file: cypress.json When you upgraded to Cypress v10.0 the config file was updated and moved to a new location: cypress.config.js You may need to update any CLI scripts to ensure that they are referring the new version. This would typically look something like: “cypress open --config-file=cypress.config.js” https://on.cypress.io/migration-guide
After I added config-file: cypress.config.js
the integration works.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:9
Top Results From Across the Web
Configuration
This guide is for Cypress 10 and the new JavaScript configuration file format. If you are on an older version of Cypress that...
Read more >Move cypress folder ts config
Found : Move cypress folder from the root of the project but it uses json config. I do not want to create a...
Read more >Specify Cypress configuration files
You can use the cypress_config_file key in run_settings option to specify the Cypress configuration file that you want to use. ... For example:...
Read more >Cypress v10 Environment Variables
We see only the environment variables from the e2e block. ... Here is what we could do in our cypress.config.js file to use...
Read more >Cypress v10 - What's new?
Component Test is now part of Cypress v10 as Beta; Change to configuration ... Replace this configuration file with a cypress.config.js ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ChillyBots update cypress-io/github-action@v2 to v4.1.0
Not sure how your cypress tests are set up for GitHub actions but Ideally from your project root .github > workflows > [cypress_test].yaml
You should have this line in jobs > steps
uses: cypress-io/github-action@v[4]
Here is an example of what the file looks like: https://github.com/cypress-io/github-action#basic