Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress errors when an undefined exception is raised on another origin #29334

Closed
michaelkay-wrisk opened this issue Apr 15, 2024 · 2 comments
Closed
Labels
type: duplicate This issue or pull request already exists

Comments

@michaelkay-wrisk
Copy link

Current behavior

When running automated tests against Stripe, they currently raise an error of undefined which does not hit uncaught:exception and fails the test instead with message:

Cannot read properties of undefined (reading 'message')

Desired behavior

Cypress should cater for when the error being raised is undefined (and probably when message is not defined as well if it doesn't already)

Test code to reproduce

Any E2E test running against Stripe

Cypress Version

13.7.3

Node version

18.14.2

Operating System

macOS

Debug Logs

No response

Other

This is definitely a problem with Stripe in doing something it shouldn't so I understand this is not a case that would normally happen but would be great if Cypress handled this edge case without error.

@michaelkay-wrisk
Copy link
Author

Please see #23937 (comment) for further discussion on a closed Issue

@jennifer-shehane
Copy link
Member

I'll close this as a duplicate of #23937 which has been reopened

@jennifer-shehane jennifer-shehane closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants