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

Possibility to pass path to currents.config via CLI #123

Closed
mi4i0 opened this issue Apr 19, 2023 · 0 comments · Fixed by #149
Closed

Possibility to pass path to currents.config via CLI #123

mi4i0 opened this issue Apr 19, 2023 · 0 comments · Fixed by #149
Assignees
Labels
enhancement New feature or request

Comments

@mi4i0
Copy link

mi4i0 commented Apr 19, 2023

Description

In my current project we are using tests for NX with the next file structure:
image
And for the implementation of cypress-cloud I need to duplicate current.config.js in each component with the same content. It would be great to create a config in one place and pass it throw CLI.,

Example usage

I'm running my tests with the next command:
npx nx run $COMPONENT_NAME-e2e:currents -- --parallel --record --browser=chrome --ci-build-id $HASH

It would be great to have an additional --currents-config flag, as example
npx nx run $COMPONENT_NAME-e2e:currents --currents-config './nxTests/somePath/currents.config.js'-- --parallel --record --browser=chrome --ci-build-id $HASHan

@mi4i0 mi4i0 added the enhancement New feature or request label Apr 19, 2023
@agoldis agoldis self-assigned this Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants