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

fix(core): allow parsing dot notation cli args #9812

Merged
merged 1 commit into from Apr 14, 2022

Conversation

barbados-clemens
Copy link
Contributor

@barbados-clemens barbados-clemens commented Apr 12, 2022

parse dot notation cli args for env args passed to cypress executor to override cypress.env.json
values.
i.e. nx e2e project --env.API_URL=localhost:1234
will now correctly give cypress e2e args to
override the cypress.env.json values

Current Behavior

nx e2e project --env.API_URL=localhost:1234 does not parse the correct env args for cypress

Expected Behavior

nx e2e project --env.API_URL=localhost:1234 correctly is parsed for cypress

Related Issue(s)

Fixes #9764

@nx-cloud
Copy link

nx-cloud bot commented Apr 12, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 5e216bd. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 13 targets

Sent with 💌 from NxCloud.

@vercel
Copy link

vercel bot commented Apr 12, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/GqStXasvSrXgpvPYEDUfpMGse8rF
✅ Preview: Ignored

[Deployment for 5e216bd canceled]

@barbados-clemens barbados-clemens self-assigned this Apr 12, 2022
@barbados-clemens barbados-clemens added scope: testing tools Issues related to Cypress / Jest / Playwright / Vitest support in Nx scope: core core nx functionality labels Apr 12, 2022
parse dot notation cli args for env args passed to cypress executor to override cypress.env.json
values.
i.e. nx e2e project --env.API_URL=localhost:1234
will now correctly give cypress e2e args to
override the cypress.env.json values

ISSUES CLOSED: #9764
@FrozenPandaz FrozenPandaz merged commit 74a4047 into master Apr 14, 2022
@FrozenPandaz FrozenPandaz deleted the nx-dot-notation-parse branch April 14, 2022 14:50
FrozenPandaz pushed a commit that referenced this pull request Apr 19, 2022
parse dot notation cli args for env args passed to cypress executor to override cypress.env.json
values.
i.e. nx e2e project --env.API_URL=localhost:1234
will now correctly give cypress e2e args to
override the cypress.env.json values

ISSUES CLOSED: #9764
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: core core nx functionality scope: testing tools Issues related to Cypress / Jest / Playwright / Vitest support in Nx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v13.10.0 - Cypress does not respect env cli params (regression)
2 participants