Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0056256 | POS2 | POS | public | 2024-08-14 09:46 | 2024-08-14 09:46 |
Reporter | andre_montenegro | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | minor | Reproducibility | random |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
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. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Ticket tests -- updates the price of an order line -- before each hook (failed) (1).png (118,991) 2024-08-14 09:46 https://issues.openbravo.com/file_download.php?file_id=20087&type=bug | ||||
Issue History | |||||
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 |
There are no notes attached to this issue. |