Problem with no source code generation for compiling with cypress #4833
Labels
outdated
scope: testing tools
Issues related to Cypress / Jest / Playwright / Vitest support in Nx
stale
type: bug
Current Behavior
When You enable plugin @nrwl/cypress/plugins/preprocessor, it stops generate source code
![image](https://user-images.githubusercontent.com/34617740/108417219-fc7cd180-722f-11eb-8cf8-ded9efcc26a8.png)
to webpack
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)
![image](https://user-images.githubusercontent.com/34617740/108417619-7dd46400-7230-11eb-8796-a45bb03553b5.png)
You have these source code
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
The text was updated successfully, but these errors were encountered: