Skip to content

Fix duplicate category matches by using the first matching rule#3330

Merged
baev merged 4 commits into
mainfrom
fix-3225
May 8, 2026
Merged

Fix duplicate category matches by using the first matching rule#3330
baev merged 4 commits into
mainfrom
fix-3225

Conversation

@baev
Copy link
Copy Markdown
Member

@baev baev commented May 8, 2026

Context

fix #3225

Allure now assigns a test result to only the first matching category from categories.json. This prevents a single failed test from appearing in multiple category groups when several rules match the same error message or stack trace.

For example, if Product defects is listed before Test defects and both rules match the same failure, the result is shown only under Product defects. This keeps the Categories tab, widgets, trends, and CSV export aligned with the expected first-match behavior.

Checklist

@baev baev added the type:bug Something isn't working label May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 2 – Pull request #3330 10m 17s Passed tests 358   Skipped tests 1 0 0 0 View

@baev baev merged commit d875fe7 into main May 8, 2026
21 checks passed
@baev baev deleted the fix-3225 branch May 8, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:generator type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allure matches 2 error categories and duplicates failure for both of them

2 participants