fix(repo): re-enable Cypress HMR e2e tests after upstream tapable fix#35105
Conversation
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nx-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
View your CI Pipeline Execution ↗ for commit e7cfd49
☁️ Nx Cloud last updated this comment at |
The upstream webpack/tapable issue (webpack/webpack#20693) has been resolved. Re-enable the 6 e2e tests that were skipped in #34969.
be01441 to
e7cfd49
Compare
There was a problem hiding this comment.
Nx Cloud has identified a possible root cause for your failed CI:
We identified that the failing task e2e-react:e2e-ci--src/react-router-ts-solution.test.ts is unrelated to the changes in this PR, which only re-enable previously skipped Cypress HMR tests. The error — a TypeScript type incompatibility between [email protected] and [email protected] in a generated test workspace — has been confirmed to exist on master as well, indicating a pre-existing environment issue.
No code changes were suggested for this issue.
Trigger a rerun:
🔔 Heads up, your workspace has pending recommendations ↗ to auto-apply fixes for similar failures.
🎓 Learn more about Self-Healing CI on nx.dev
…#35105) ## Current Behavior Six e2e tests were skipped in #34969 because they were failing with a Cypress uncaught exception: `[HMR] Hot Module Replacement is disabled`. The error originated from the webpack `styles.js` bundle during the `before each` hook due to an upstream tapable issue (webpack/webpack#20693). Skipped tests: - `e2e-nx:e2e-ci--src/workspace-legacy.test.ts` - `e2e-react:e2e-ci--src/module-federation/independent-deployability.webpack.test.ts` - `e2e-react:e2e-ci--src/module-federation/core-webpack-basic-host-remote-generation.test.ts` - `e2e-react:e2e-ci--src/module-federation/misc-rspack-interoperability.test.ts` - `e2e-react:e2e-ci--src/module-federation/dynamic-federation.webpack.test.ts` - `e2e-react:e2e-ci--src/module-federation/federate-module.webpack.test.ts` ## Expected Behavior The upstream tapable issue has been resolved (webpack/webpack#20693). All 6 tests should be re-enabled and passing. ## Related Issue(s) Upstream fix: webpack/webpack#20693 Reverts the skip from #34969
…#35105) ## Current Behavior Six e2e tests were skipped in #34969 because they were failing with a Cypress uncaught exception: `[HMR] Hot Module Replacement is disabled`. The error originated from the webpack `styles.js` bundle during the `before each` hook due to an upstream tapable issue (webpack/webpack#20693). Skipped tests: - `e2e-nx:e2e-ci--src/workspace-legacy.test.ts` - `e2e-react:e2e-ci--src/module-federation/independent-deployability.webpack.test.ts` - `e2e-react:e2e-ci--src/module-federation/core-webpack-basic-host-remote-generation.test.ts` - `e2e-react:e2e-ci--src/module-federation/misc-rspack-interoperability.test.ts` - `e2e-react:e2e-ci--src/module-federation/dynamic-federation.webpack.test.ts` - `e2e-react:e2e-ci--src/module-federation/federate-module.webpack.test.ts` ## Expected Behavior The upstream tapable issue has been resolved (webpack/webpack#20693). All 6 tests should be re-enabled and passing. ## Related Issue(s) Upstream fix: webpack/webpack#20693 Reverts the skip from #34969
|
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. |
Current Behavior
Six e2e tests were skipped in #34969 because they were failing with a Cypress uncaught exception:
[HMR] Hot Module Replacement is disabled. The error originated from the webpackstyles.jsbundle during thebefore eachhook due to an upstream tapable issue (webpack/webpack#20693).Skipped tests:
e2e-nx:e2e-ci--src/workspace-legacy.test.tse2e-react:e2e-ci--src/module-federation/independent-deployability.webpack.test.tse2e-react:e2e-ci--src/module-federation/core-webpack-basic-host-remote-generation.test.tse2e-react:e2e-ci--src/module-federation/misc-rspack-interoperability.test.tse2e-react:e2e-ci--src/module-federation/dynamic-federation.webpack.test.tse2e-react:e2e-ci--src/module-federation/federate-module.webpack.test.tsExpected Behavior
The upstream tapable issue has been resolved (webpack/webpack#20693). All 6 tests should be re-enabled and passing.
Related Issue(s)
Upstream fix: webpack/webpack#20693
Reverts the skip from #34969