Skip to content

[v.3.0.2][allure-jest][allure-js-commons] The autotest is displayed as skipped in Allure report when it fails in the beforeEach or beforeAll fixture #1185

@lifanov-rza

Description

@lifanov-rza

Describe the bug
The autotest is displayed as skipped in Allure report when it fails in the beforeEach or beforeAll fixture

To Reproduce
Steps to reproduce the behavior:

  1. Add expect(1).toStrictEqual(2); in beforeAll or beforeEach hook
  2. Run test
  3. Check allure report

Expected behavior
The test is displayed as failed

Screenshots
image

Metadata

Metadata

Assignees

Labels

theme:jestJest related issuetype:bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions