nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.58k stars 2.36k forks source link

cypress.config.cts not working with E2E inferred task #26618

Closed bastienmoulia closed 2 months ago

bastienmoulia commented 4 months ago

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

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

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

leosvelperez commented 2 months ago

This was fixed by https://github.com/nrwl/nx/pull/26981.

github-actions[bot] commented 1 month ago

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.