-
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
Pass projectRoot and configFile to plugins file through config #6317
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
I opened an issue about throwing/warning when writing to 'readonly' |
…io/cypress into issue-5941-plugins-file-options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love it, but do we have a TypeScript definition for plugins configuration object? If yes, we need to add these two properties, I assume project root is always a string, and config file is false or a string?
Working on that now 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super
Is this ready to merge? I approved. |
conflicts with |
Another feature!
…Sent from my iPhone
On Feb 28, 2020, at 13:44, Brian Mann ***@***.***> wrote:
conflicts with README.md
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
850c1f6
User facing changelog
config
argument now includesprojectRoot
(absolute path to the root of the project) andconfigFile
(absolute path to the configuration file)Additional details
Documentation PR: cypress-io/cypress-documentation#2534
How has the user experience changed?
The plugins file config argument now includes
projectRoot
andconfigFile
:PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?