Skip to content
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

fix cypress 10 change - do not exit without cypress.json #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

plaschczek
Copy link

With cypress 10 all config json files are js files, so no cypress.json exists.

As quick fix do not exit if no cypress.json found.

@plaschczek plaschczek force-pushed the fix/cypress-10-without-cypress-json branch from b9e7c04 to 61afd38 Compare June 28, 2022 08:21
@plaschczek plaschczek force-pushed the fix/cypress-10-without-cypress-json branch from 61afd38 to ba77b8f Compare June 28, 2022 08:30
@pav-elis
Copy link

Hello @ma-jahn @jkvim , will this be approved and merged? or maybe there will be another decision provided?

Because with cypress v10 and higher there are no more cypress.json file in the project, they now use cypress.config.js instead.
But even if I will add the cypress.json with only reporter config there - Cypress shows me an error Cypress no longer supports cypress.json, please remove it from your project.
So we definitely need a new version or at least a workaround.

@jkvim
Copy link
Contributor

jkvim commented Dec 3, 2022

Great job, but I don't have write access to this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants