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

Exceptions in after() don't show up in UI #3348

Closed
danielschwartz85 opened this issue Feb 6, 2019 · 1 comment
Closed

Exceptions in after() don't show up in UI #3348

danielschwartz85 opened this issue Feb 6, 2019 · 1 comment
Labels
topic: unhandled exceptions ⚠️ Issues involving unhandled or uncaught exception handling type: bug type: duplicate This issue or pull request already exists

Comments

@danielschwartz85
Copy link

Current behavior

If after() is defined in root level (not in describe and not in it) and an error is thrown then the UI does not show the Error.

Desired behavior

UI should show Exceptions thrown in after

To reproduce

See (there are 4 specs showing weird behavior):
https://github.com/danielschwartz85/after-error-not-shown

Versions

Cypress 3.1.5
Ubuntu 18.04.1

Tnx.

@danielschwartz85 danielschwartz85 changed the title Exceptions in after() don't show up in UI (when after is root level). Exceptions in after() don't show up in UI Feb 6, 2019
@jennifer-shehane jennifer-shehane added topic: unhandled exceptions ⚠️ Issues involving unhandled or uncaught exception handling stage: ready for work The issue is reproducible and in scope type: bug labels Feb 12, 2019
@jennifer-shehane
Copy link
Member

Thanks for providing an example. Closing as duplicate of #2296

@jennifer-shehane jennifer-shehane added type: duplicate This issue or pull request already exists and removed stage: ready for work The issue is reproducible and in scope labels May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: unhandled exceptions ⚠️ Issues involving unhandled or uncaught exception handling type: bug type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants