-
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
Cypress config object passed to the plugins file should have config filename #5941
Comments
Yah, I thought this was a bit weird too when I began investigating #5855 It's a weird edge case config just like |
The code for this is done in cypress-io/cypress#6317, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Cypress v3.7.0
The plugins file receives resolved config object with properties from
cypress.json
resolved. But the config object has plugins, fixtures, integration paths - yet it does not have the project root or configuration filename. Since we have added--config-file
option, we should pass it in the config object (orfalse
is the user has disabled it)See https://docs.cypress.io/guides/guides/command-line.html#cypress-run-config-file-lt-config-file-gt
Expected behavior with the following plugins file
The text was updated successfully, but these errors were encountered: