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

Problem with no source code generation for compiling with cypress #4833

Closed
Areen3 opened this issue Feb 18, 2021 · 2 comments
Closed

Problem with no source code generation for compiling with cypress #4833

Areen3 opened this issue Feb 18, 2021 · 2 comments
Labels
outdated scope: testing tools Issues related to Cypress / Jest / Playwright / Vitest support in Nx stale type: bug

Comments

@Areen3
Copy link

Areen3 commented Feb 18, 2021

Current Behavior

When You enable plugin @nrwl/cypress/plugins/preprocessor, it stops generate source code
to webpack
image

Expected Behavior

Generate soruce code to webpack to posibility to debug cypress spec.

corect these plugin, when it is disabled (delete line in cypress.json that running plugin)
You have these source code
image

Steps to Reproduce

orgyginall cypress json file:
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/integration",
"modifyObstructiveCode": false,
"pluginsFile": "./src/plugins/index", // remove these line and webpack code shows...
"supportFile": "./src/support/index.ts",
"video": true,
"videosFolder": "../../dist/cypress/apps/cy-e2e/videos",
"screenshotsFolder": "../../dist/cypress/apps/cy-e2e/screenshots",
"chromeWebSecurity": false,
"baseUrl": "http://localhost:4200"
}

https://github.com/Areen3/debug-nx-cypress
on branch debug-plugin-vsc
run: nx e2e cy-e2e --watch

Failure Logs

Environment

lastes Nx "11.2.10"

Hope I didn't mix up anything and it's not the intended functionality

best regards
Piotr

@vsavkin vsavkin added the scope: testing tools Issues related to Cypress / Jest / Playwright / Vitest support in Nx label Feb 22, 2021
@github-actions
Copy link

This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

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

No branches or pull requests

2 participants