-
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
Can not set reporterOptions from inside plugins #7652
Comments
This may be a case where the I can see that the config is changed within the plugins, but not shown in the resolved Configuration - but Are the new values passed to reporterOptions not taking effect at all? |
Just to bring more information. // plugins/index.js
module.exports = (on, config) => {
return {
...config,
reporterOptions: "This is just a test",
};
} Can it be a somehow related to this previous issue #7959? Versions:Tested on 4.12.1 |
This seems to be working fine in 5.5.0. |
@quad5 When |
It is still an issue in cypress 7.2.0. Frustrating as we have our own config file 'extends' enhancement that relies on plugins processing of config files, and thus can't 'inherit' a reporterOptions object from an ancestor configFile due to this bug. |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
Current behavior:
setting
reporterOptions
insideplugins/index.js
does nothing.also,
reporterOptions
is not part ofConfigOptions
interface :/Desired behavior:
setting
reporterOptions
insideplugins/index.js
returns the settings as described.Test code to reproduce
Versions
tested on 4.5.0
The text was updated successfully, but these errors were encountered: