Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056256 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | minor | random | 2024-08-14 09:46 | 2025-02-18 11:18 | |||||||
Reporter | andre_montenegro | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056256: Vite: "Failed to fetch dynamically imported module" error when executing Cypress tests | |||||||||||
Description | Some instances have been observed where the pos2 and try-pos2 tabs fail in the Cypress job due to a random error related with a fetch failure that occurs while reloading the page between tests, which may be related with Vite implementation. The error message is (notice screenshot) "Failed to fetch dynamically imported module: <url>" Following this failure, the subsequent test recovers after the page reloads. This behavior occurs sporadically, and no discernible patterns have been identified. Here some interesting links related to this behavior: https://github.com/vitejs/vite/issues/11804 [^] https://github.com/cypress-io/cypress/issues/25913 [^] https://stackoverflow.com/questions/69300341/typeerror-failed-to-fetch-dynamically-imported-module-on-vue-vite-vanilla-set [^] This behavior has been observed not only with Cypress, but also manually, but the steps are not clear enough to define them. | |||||||||||
Steps To Reproduce | Steps to reproduce it with Cypress - Launch a pos2 or try-pos2 job and it may fail due this error. | |||||||||||
Proposed Solution | Review why this behavior is happening, maybe a workaround from Vite or Cypress part should be applied. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ![]() | |||||||||||
![]() |
|
![]() |
|
(0174847) cberner (developer) 2025-01-29 12:00 edited on: 2025-01-29 12:00 |
There seems to be an open issue in cypress related with this error(as already mentioned in the description): https://github.com/cypress-io/cypress/issues/25913 [^] I think it makes sense to try some of the workarounds proposed there, but most of them do not look easy to implement. I expect the effort to apply them and fix this to be medium-high. |
(0175223) lorenzofidalgo (developer) 2025-02-06 14:24 |
To be able to track (very informally) how often this occurs in CI: 1207 pos2-modules-cypress-e2e execution has reproduced this issue in CI 1267 pos2-modules-cypress-e2e execution has reproduced this issue in CI |
(0175358) lorenzofidalgo (developer) 2025-02-10 07:46 |
New occurrence today Feb 10th in CI |
(0175802) lorenzofidalgo (developer) 2025-02-18 11:18 |
New occurrence on February 17th |
![]() |
|||
Date Modified | Username | Field | Change |
2024-08-14 09:46 | andre_montenegro | New Issue | |
2024-08-14 09:46 | andre_montenegro | Assigned To | => Triage Platform Base |
2024-08-14 09:46 | andre_montenegro | File Added: Ticket tests -- updates the price of an order line -- before each hook (failed) (1).png | |
2024-08-14 09:46 | andre_montenegro | Triggers an Emergency Pack | => No |
2025-01-29 12:00 | cberner | Note Added: 0174847 | |
2025-01-29 12:00 | cberner | Note Edited: 0174847 | View Revisions |
2025-02-06 14:24 | lorenzofidalgo | Note Added: 0175223 | |
2025-02-06 16:48 | shuehner | Issue Monitored: shuehner | |
2025-02-10 07:46 | lorenzofidalgo | Note Added: 0175358 | |
2025-02-18 11:18 | lorenzofidalgo | Note Added: 0175802 |
Copyright © 2000 - 2009 MantisBT Group |