Lasha Kakabadze
10/24/2025, 4:40 PMNotSupportedError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.
> The user agent does not support public key credentials.
When Cypress detects uncaught errors originating from your application it will automatically fail the current test.
This behavior is configurable, and you can choose to turn this off by listening to the uncaught:exception event.
https://on.cypress.io/uncaught-exception-from-application
I know this behavior can be disabled by listening to the uncaught:exception event, but before doing that, I wanted to ask:
Is there a recommended way to handle this error properly, so that authentication tests using WebAuthn can run without needing to suppress exceptions?