Closed bastienmoulia closed 2 months ago
When I use inferred tasks with cypress, my cypress.config.cts file is not managed.
Like for .ts or .js file, the e2e inferred tasks are generated.
No response
1.
Node : 20.13.1 OS : win32-x64 npm : 10.5.2 nx : 19.3.0 @nx/js : 19.3.0 @nx/jest : 19.3.0 @nx/linter : 19.3.0 @nx/eslint : 19.3.0 @nx/workspace : 19.3.0 @nx/angular : 19.3.0 @nx/cypress : 19.3.0 @nx/devkit : 19.3.0 @nx/eslint-plugin : 19.3.0 @nrwl/tao : 19.3.0 @nx/web : 19.3.0 @nx/webpack : 19.3.0 typescript : 5.4.5 --------------------------------------- Registered Plugins: @nx/eslint/plugin @nx/cypress/plugin --------------------------------------- Community plugins: @ng-bootstrap/ng-bootstrap : 17.0.0 @ngrx/effects : 18.0.0 @ngrx/eslint-plugin : 18.0.0 @ngrx/router-store : 18.0.0 @ngrx/store : 18.0.0 ng-extract-i18n-merge : 2.12.0 ngx-toastr : 19.0.0 nx-stylelint : 17.1.5
Maybe https://github.com/nrwl/nx/blob/472459d9f5c4748a8eafd7895df884d77c26d100/packages/cypress/src/plugins/plugin.ts#L45C1-L46C1
This was fixed by https://github.com/nrwl/nx/pull/26981.
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.
Current Behavior
When I use inferred tasks with cypress, my cypress.config.cts file is not managed.
Expected Behavior
Like for .ts or .js file, the e2e inferred tasks are generated.
GitHub Repo
No response
Steps to Reproduce
1.
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
Maybe https://github.com/nrwl/nx/blob/472459d9f5c4748a8eafd7895df884d77c26d100/packages/cypress/src/plugins/plugin.ts#L45C1-L46C1