Project:
View Revisions: Issue #56285 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0056285: [24Q3] Significant performance degradation when running Cypress test with chrome dev tools opened | ||
Revision | 2024-11-11 10:38 by andre_montenegro | ||
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. |
||
Revision | 2024-11-11 10:38 by andre_montenegro | ||
Steps To Reproduce | 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. |
Copyright © 2000 - 2009 MantisBT Group |