allure-framework / allure-framework/allure-python

Allure Dashboard overview shows incorrect testcase count with Pabot Robot Framework runs

オープン
#897 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
type:bug
主要言語
Python
スター
814
フォーク
260
PR マージ指標
30日以内にマージされた PR はありません

説明

### Describe the Bug

When running Robot Framework tests for multiple websites in parallel using Pabot (with argument files), the Allure Dashboard overview displays only the testcase count for a single URL instead of the total count across all URLs. For example, with 11 testcases per URL and 2 URLs, the timeline correctly shows 22 testcases, but the overview only shows 11.

### Steps to Reproduce

1. Run Robot Framework tests in parallel using Pabot with argument files for multiple URLs:
pabot --listener "allure_robotframework;allure-results" --argumentfile1 arg1.txt --argumentfile2 arg2.txt tests/Global
2. Open the generated Allure report.
3. Observe the timeline tab: it shows the correct total testcase count (e.g., 22).
4. Observe the overview tab: it only shows the testcase count for a single URL (e.g., 11), not the total.

### Expected Behaviour

- The Dashboard overview should display the total number of executed testcases from all parallel runs (i.e., sum across all URLs/sites), matching the count shown in the timeline.
- The pass/fail count should display the total number (sum of pass/fail across all URLs).

### Screenshots or Additional Context

Allure Dashboard - Overview Tab showing only 11 testcase of single url
Image

Allure Dashboard - Timeline Tab showing total 22 testcase of two urls
Image

Environment:
- Allure Commandline version: 2.34.1
- Allure RobotFramework listener version: 2.15.0
- Robot Framework version: 6.1.1
- Pabot version: 4.1.1
- OS: Windows
- Browser: Chrome
- Java version: 24.0.2

### What Language are you using?

Python (RobotFramework)

### What Framework/Allure Integration you are using?

allure-robotframework

### What version of Allure Integration you are using?

2.15.0

### What version of Allure Report you are using?

2.34.1

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、報告された Pabot コマンドを 2 つの引数ファイルで再現し、生成された Allure レポートの overview と timeline のデータを調査します。並列実行による allure-robotframework の結果がどのように集約されるかを追跡します。すべての URL にわたって、overview の testcase 数および pass/fail の合計が timeline の合計と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。