WebKit Support - The application does not load using cypress webKit for Safari Browser only, it throws unhandled exceptions for JavaScript libraries #25914
Unanswered
Ranjeet-NBLY
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Cypress Automation testing issue:
Issue: The application does not load using Cypress WebKit for Safari Browser only, it throws unhandled exceptions for JavaScript libraries
Solutions Applied:
Root cause Identified: Figured out that CDN of single-spa(cdn.jsdelivr.net) UI library version [email protected] was throwing an unhandled exception
Solution 1: Removed the CDN and loaded code from the application server itself using import-maps
Result: Application started breaking because it was not supporting the import map for single-spa
Solution 2: Upgraded the library version from '[email protected]' to '[email protected](Latest)'
Result: Same error
Solution 3: Changed the CDN provider from cdn.jsdelivr.net to unpkg
Result: Same error
Note: Application supports >=13.5 Safari versions, Application does not load properly in less than 13.5 Safari version (It does not load a few icons/buttons/images).
There was no provision in the cypress WebKit to configure Safari browser versions so we are not sure about default Safari version supported by the WebKit. It seems this WebKit is not compatible.
Beta Was this translation helpful? Give feedback.
All reactions