Project

General

Profile

Actions

Bug #22654

open

Random failure "Loading chunk cypress-support-file failed" in Workbench unit tests

Added by Brett Smith 4 days ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Tests
Target version:
-
Story points:
-

Description

run-tests-remainder: #5035

  Running:  components/popover/popover.cy.js                                              (21 of 76)

  1) An uncaught error was detected outside of a test

  0 passing (263ms)
  1 failing

  1) An uncaught error was detected outside of a test:
     ChunkLoadError: The following error originated from your test code, not from Cypress.

  > Loading chunk cypress-support-file failed.
(error: http://localhost:8080/__cypress/src/cypress-support-file.js)

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
      at __webpack_require__.f.j (http://localhost:8080/__cypress/src/main.js:10640:29)
      at <unknown> (http://localhost:8080/__cypress/src/main.js:10428:40)
      at Array.reduce (<anonymous>)
      at __webpack_require__.e (http://localhost:8080/__cypress/src/main.js:10427:67)
      at Object.load (http://localhost:8080/__cypress/src/main.js:484:526)
      at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:110836:21)
      at tryCatcher (http://localhost:8080/__cypress/runner/cypress_runner.js:1807:23)
      at Object.gotValue (http://localhost:8080/__cypress/runner/cypress_runner.js:6476:18)
      at Object.gotAccum (http://localhost:8080/__cypress/runner/cypress_runner.js:6465:25)
      at Object.tryCatcher (http://localhost:8080/__cypress/runner/cypress_runner.js:1807:23)

  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        false                                                                            │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     components/popover/popover.cy.js                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘

run-tests-remainder: #5062 shows the same thing happening in views/login-panel/login-panel.cy.js. See full log attached.


Files

run-tests-remainder-5035.log (822 KB) run-tests-remainder-5035.log Brett Smith, 03/11/2025 01:35 PM
run-tests-remainder-5062.log (822 KB) run-tests-remainder-5062.log Brett Smith, 03/14/2025 03:13 PM
Actions

Also available in: Atom PDF