Skip to content

fix(repo): skip flaky Cypress HMR e2e tests#34969

Merged
FrozenPandaz merged 1 commit intomasterfrom
fix/skip-flaky-e2e-tests
Mar 23, 2026
Merged

fix(repo): skip flaky Cypress HMR e2e tests#34969
FrozenPandaz merged 1 commit intomasterfrom
fix/skip-flaky-e2e-tests

Conversation

@FrozenPandaz
Copy link
Copy Markdown
Contributor

Current Behavior

Six e2e tests are failing on master due to a Cypress uncaught exception: [HMR] Hot Module Replacement is disabled. The error originates from the webpack styles.js bundle during the before each hook, causing Cypress to abort the test suite. This appears to be triggered by an external dependency update.

Failing 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 flaky tests are skipped so that master CI is green while the root cause (likely an external dependency update) is investigated separately.

Related Issue(s)

N/A — CI stabilization fix.

Skip 6 e2e tests that are failing on master due to a Cypress
uncaught exception: [HMR] Hot Module Replacement is disabled.
This appears to be caused by an external dependency update.
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 23, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit e7124e2
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69c1b36ec041620008807b6c
😎 Deploy Preview https://deploy-preview-34969--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 23, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit e7124e2
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69c1b36e43d3190008e98e9c
😎 Deploy Preview https://deploy-preview-34969--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud bot commented Mar 23, 2026

View your CI Pipeline Execution ↗ for commit e7124e2

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 43m 9s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 8s View ↗
nx-cloud record -- pnpm nx conformance:check ✅ Succeeded 7s View ↗
nx build workspace-plugin ✅ Succeeded 3m 1s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-23 22:31:42 UTC

@FrozenPandaz FrozenPandaz marked this pull request as ready for review March 23, 2026 21:41
@FrozenPandaz FrozenPandaz requested a review from a team as a code owner March 23, 2026 21:41
@FrozenPandaz FrozenPandaz requested a review from MaxKless March 23, 2026 21:41
@FrozenPandaz FrozenPandaz enabled auto-merge (squash) March 23, 2026 22:09
@FrozenPandaz FrozenPandaz merged commit dd8f69e into master Mar 23, 2026
24 checks passed
@FrozenPandaz FrozenPandaz deleted the fix/skip-flaky-e2e-tests branch March 23, 2026 22:32
FrozenPandaz added a commit that referenced this pull request Mar 26, 2026
## Current Behavior

Six e2e tests are failing on master due to a Cypress uncaught exception:
`[HMR] Hot Module Replacement is disabled`. The error originates from
the webpack `styles.js` bundle during the `before each` hook, causing
Cypress to abort the test suite. This appears to be triggered by an
external dependency update.

Failing 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 flaky tests are skipped so that master CI is green while the root
cause (likely an external dependency update) is investigated separately.

## Related Issue(s)

N/A — CI stabilization fix.

(cherry picked from commit dd8f69e)
@github-actions
Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants