Describe the bug
Allure reporter results marks steps of skipped tests cases as failures instead of skipped.
To Reproduce
Steps to reproduce the behavior:
test.skip() a suite.
- Run the tests, having allure as reporter
- Check allure-results folder for test results
- See that steps of skipped have status "failed" (see screenshot for details)
Expected behavior
In allure results, steps of skipped tests shouldn't be marked as failed. Instead the status should be "skipped", as the parent is.
Screenshots
Desktop (please complete the following information):
- OS: win11
- Browser: chrome
- Version: 140
- Deps
"@playwright/test": "1.56.1",
"allure-playwright": 3.4.1
"playwright": "1.56.1"
Additional context
Seems it's important where the test.skip() is placed -> if it's placed not in before hook it seems to be ok, steps are not loaded.
Describe the bug
Allure reporter results marks steps of skipped tests cases as failures instead of skipped.
To Reproduce
Steps to reproduce the behavior:
test.skip()a suite.Expected behavior
In allure results, steps of skipped tests shouldn't be marked as failed. Instead the status should be "skipped", as the parent is.
Screenshots
Desktop (please complete the following information):
"@playwright/test": "1.56.1",
"allure-playwright": 3.4.1
"playwright": "1.56.1"
Additional context
Seems it's important where the
test.skip()is placed -> if it's placed not inbeforehook it seems to be ok, steps are not loaded.