-
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
Cypress no longer supports cypress.json #370
Comments
more or less a duplicate of #342 ? |
There is some duplication, but I am highlighting a specific issue about Cypress config and curious if there is a workaround with the current version of browserstack, I haven't been able to find anything so far. |
BrowserStack does not support Cypress 10 as of now. |
If you're like me, you wanted to use both, and so as a workaround, point the browserstack.json config file path at a simple config file, e.g. ./cypress/blank.json and use that config file for browserstack with overrides for environment variables in your local dev environment! |
Closing this issue as BrowserStack supports Cypress 10. Make sure you update to the latest CLI. Feel free to open another issue if you're still facing any problems. |
As of Cypress 10, cypress.json is no longer supported (https://docs.cypress.io/guides/references/configuration).
Browserstack-cypress-cli requires a json file in
cypress_config_file
and throws an invalid JSON parse error when I referencecypress.config.ts
(which is to be expected as its not JSON).The text was updated successfully, but these errors were encountered: