allure-framework / allure-framework/allure2
The success rate displayed is incorrect
- Dominant language
- HTML
- Stars
- 5.5k
- Forks
- 782
- Avg merge
- 2d 33m
- Merged PRs (30d)
- 16
Description
### Describe the Bug
With a test run of 633 tests with the following results:
```
passed: 493
failed: 45
skipped: 95
```
**Allure3** displays 77,88 %
**Allure2** displays 91,63%
**Allure2 is incorrect**
### Steps to Reproduce
Execute a test suite of 633 tests with the following results
```
passed: 493
failed: 45
skipped: 95
```
Generate allure2 report
### Expected Behaviour
The overall success rate should be 77,88 % `(100 * passed / total)`
### Screenshots or Additional Context
_No response_
### What Language are you using?
JavaScript
### What Framework/Allure Integration you are using?
allure-playwright
### What version of Allure Integration you are using?
3.9.0
### What version of Allure Report you are using?
2.46.1
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Research direction
Reproduce the report with 493 passed, 45 failed, and 95 skipped tests using the reported allure-playwright setup, then trace the success-rate calculation in the reporting code. Done means the displayed overall success rate is 77.88%, calculated as 100 × passed / total, with coverage for this result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, playwright
- Domain
- data-visualization, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100