Created attachment 186401 [details] [review] Bug 40809: Fail Cypress tests on JS warnings Currently JS warnings during Cypress tests are ignored. This change intercepts console warnings in the browser and if any occurs the test failed This helps catch potential issues and ensures that warnings are not silently ignored during test runs.
Test plan: All Cypress tests should still pass. QA will take care of adding a JS warning and confirm that the test fails.