Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Exception in root level after() doesn't fail test run in interactive mode #2296
If there's an
Also, if it's a synchronous failure, the exception doesn't show up anywhere.
The whole test run should fail (sometimes you would want to place an assertion there that is possible only after all tests have run).
Steps to reproduce:
Add this to your tests:
@amitzur The code for this is in our reporter package which is a React app. I'm not totally sure where this discrepancy is at - but here's a link to the runnable area of the app (may not be where the error is), but hopefully gets you started. https://github.com/cypress-io/cypress/blob/develop/packages/reporter/src/runnables/runnable-and-suite.jsx#L8
If you run in Chrome, you should be able to install the extension the standard way by visiting https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi