Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0056285 | POS2 | POS | public | 2024-08-21 11:51 | 2024-11-11 10:52 |
Reporter | andre_montenegro | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | major | Reproducibility | always |
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 | Automated tests | ||||
Regression date | |||||
Regression introduced in release | main | ||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0056285: [24Q3] Significant performance degradation when running Cypress test with chrome dev tools opened | ||||
Description | It has been observed a significant performance degradation in the POS when executing a Cypress test with Chrome Developer Tools opened. The issue typically manifests during the master data reload process following the login operation. This issue is not reproducible in versions 24Q2 or earlier. We have conducted tests altering the following parameters: - Chrome Version: The issue is reproducible with Chrome version 120 Stable. - Cypress Version: The issue is reproducible with previous versions of Cypress. However, the degradation appears less severe when using version 12.14.0. - Using Livebuilds: The issue persists even when using Livebuilds. - POS version: This issue is not reproducible in versions 24Q2 or earlier. | ||||
Steps To Reproduce | Test 1 - with Cypress Preconditions - Have 24Q3 release or master context Steps to reproduce, running a Cypress test: - Go to openbravo/modules/org.openbravo.core2/web-jspack/org.openbravo.core2 and run: npm run cy:open - Select E2E testing, choose "Chrome" stable version and click "Start E2E Testing in Chrome" button. - Open chrome dev tools with Ctrl + Shift + I - Select a test to run, for example "ticket.spec.js" - Observe the huge performance degradation when loading after login the app Notice that by closing the chrome dev tools, the masterdata loading speeds up. See video attached. IMPORTANT: This behavior is not reproducible with 24Q2, 24Q1, 23Q3. Test 2 - Without Cypress: - Have 24Q3 release or master context (livebuilds) - Open the application in a Chrome "guest" tab. - Measure the time taken from the moment the "Log In" button is pressed until the "loading" screen has finished. - Compare results with chrome dev tools opened (Ctrl+Shift+I) vs without it. IMPORTANT: Close and re-open the window before each reload. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Screencast from 21-08-24 11:04:18.webm (3,573,748) 2024-08-21 13:22 https://issues.openbravo.com/file_download.php?file_id=20102&type=bug POSwoChromeDevTools.mp4 (545,840) 2024-11-11 10:39 https://issues.openbravo.com/file_download.php?file_id=20452&type=bug POSwithChromeDevToolsVideo.mp4 (3,845,234) 2024-11-11 10:52 https://issues.openbravo.com/file_download.php?file_id=20453&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-08-21 11:51 | andre_montenegro | New Issue | |||
2024-08-21 11:51 | andre_montenegro | Assigned To | => Retail | ||
2024-08-21 11:51 | andre_montenegro | Regression level | => Automated tests | ||
2024-08-21 11:51 | andre_montenegro | Regression introduced in release | => main | ||
2024-08-21 11:51 | andre_montenegro | Triggers an Emergency Pack | => No | ||
2024-08-21 11:51 | andre_montenegro | Assigned To | Retail => Triage Platform Base | ||
2024-08-21 12:51 | andre_montenegro | Summary | [24Q3] Huge performance degradation when running Cypress test with chrome dev tools opened => [24Q3] Significant performance degradation when running Cypress test with chrome dev tools opened | ||
2024-08-21 13:22 | andre_montenegro | File Added: Screencast from 21-08-24 11:04:18.webm | |||
2024-11-10 19:16 | AugustoMauch | Relationship added | caused by 0056272 | ||
2024-11-10 19:16 | AugustoMauch | Relationship deleted | caused by 0056272 | ||
2024-11-11 10:38 | andre_montenegro | Note Added: 0171747 | |||
2024-11-11 10:38 | andre_montenegro | Description Updated | bug_revision_view_page.php?rev_id=28755#r28755 | ||
2024-11-11 10:38 | andre_montenegro | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=28757#r28757 | ||
2024-11-11 10:39 | andre_montenegro | File Added: POSwoChromeDevTools.mp4 | |||
2024-11-11 10:52 | andre_montenegro | File Added: POSwithChromeDevToolsVideo.mp4 |
Notes | |||||
|
|||||
|
|