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

Failed tear down fixtures are poorly visible in the report #1122

Open
delatrie opened this issue Aug 28, 2024 · 0 comments
Open

Failed tear down fixtures are poorly visible in the report #1122

delatrie opened this issue Aug 28, 2024 · 0 comments
Labels
type:improvement Improvement or request

Comments

@delatrie
Copy link
Collaborator

delatrie commented Aug 28, 2024

Describe the bug
Failed fixtures from the Tear Down section of the report are hidden inside passed tests. If no other errors are present, the report shows a 100% green circle on the overview page, which is not quite true and may conceal a potential bug.

To Reproduce
The problem can be illustrated with allure-cypress, but most probably affects other integrations.

Steps to reproduce the behavior:

  1. Create an Allure Cypress project.
  2. Define the following spec:
    afterEach(() => { throw new Error(); });
    it("foo", () => {});
  3. Run Cypress, generate and open the report.

Expected behavior
Depends on the solution. It might be an extra placeholder test result to make the error visible similar to how it's done for Reqnroll.

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:improvement Improvement or request
Projects
None yet
Development

No branches or pull requests

1 participant