allure-framework / allure-framework/allure3

Incorrect run duration on multi-report widgets

Open
#969 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
401
Forks
58
Avg merge
2d 20h
Merged PRs (30d)
34

Description

### What happened?

When generating a report with several plugins, a report selector appears with one widget per plugin
These widget are displaying some information about the test run, including its duration

However the duration on the widget doesn't match the duration of the pipeline nor the duration displayed on the specific plugin reports:

Image

Image

I am running my test using several workers in playwright, it looks like the widget duration is the sum of all tests durations, whereas the report duration is the actual execution duration

### How can we reproduce it?

- Have a config with different plugins (in my case, i have 2 awesome, 1 allure classic, 1 allure2)
- Run playwright tests **with several workers** (in my case, 5)
- Generate the report

### What did you expect?

The duration displayed on the widgets should match the duration displayed on the actual reports

### Environment

- Allure 3 version: 3.17.0
- Node.js version: 22.11.0
- Playwright version: 1.63.0

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue through the report selector and its per-plugin widgets using several Playwright workers and multiple plugins. Compare widget duration with the pipeline duration and the specific plugin reports; done means the widget duration matches the actual execution duration rather than the sum of test durations.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, playwright
Domain
frontend, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.