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

CLI overrides not updating in resolved plugin configuration #951

Closed
3 tasks done
mattrlong opened this issue Feb 20, 2023 · 2 comments
Closed
3 tasks done

CLI overrides not updating in resolved plugin configuration #951

mattrlong opened this issue Feb 20, 2023 · 2 comments

Comments

@mattrlong
Copy link

Current behavior

When attempting to override the plugin configuration from the CLI, the cypress environment variables are not appearing in the resolved plugin configuration.

For example:

✗ DEBUG=cypress:electron,cypress-configuration,cypress-cucumber-preprocessor npx cypress run --env filterSpecs=false
  cypress-cucumber-preprocessor resolved configuration { filterSpecs: true }

Desired behavior

Updates to configuration through the CLI update plugin configuration as expected.

Test code to reproduce

configuration initially defined in .cypress-cucumber-preprocessorrc.json as follows:

{
    "filterSpecs": true
}

Versions

  • Cypress version: 12.0.0
  • Preprocessor version: 15.1.4
  • Node version: 16.17.1

Checklist

@badeball
Copy link
Owner

Looks like this only affect the debug output and that the proper options are actually taking place. Are you experiencing anything different?

badeball added a commit that referenced this issue May 1, 2023
@badeball
Copy link
Owner

badeball commented May 1, 2023

This has been fixed in v17.0.0.

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

No branches or pull requests

2 participants