allure-framework / allure-framework/allure-js
Only one failure appear in allure report if multiple soft assertion errors
- Dominant language
- TypeScript
- Stars
- 281
- Forks
- 137
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 13
Description
**Describe the bug**
Preconditions: Test contains multiple soft assertion and multiple fails.
**To Reproduce**
Steps to reproduce the behavior:
1. run the test
2. generate report
**Expected behavior**
allure report contains all errors that happened in test
**Actual behavior**
allure report contains only first error happened
**Screenshots**
**test code:**
```
import { test } from '@integration-tests/fixtures/setup.fixture';
import { expect } from '@playwright/test';
test.only('Soft assertion check', async () => {
expect.soft('first').toBe('false1');
expect.soft('second').toBe('false2');
});
```
Contributor guide
Research direction
Start by running the shown Playwright test with two failing soft assertions and generating the Allure report. Trace how multiple assertion failures are collected and rendered; done means the report displays both errors instead of only the first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, typescript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100