🌐 AI搜索 & 代理 主页
Skip to content

allure-playwright - if a test fails on beforeAll\beforeEach statement - only trace goes in attachments, replacing first #1384

@simple-elf

Description

@simple-elf

Describe the bug
if a test fails on beforeAll\beforeEach statement - only trace goes in attachments, replacing first

To Reproduce
Steps to reproduce the behavior:

  1. Run few test with an error in beforeAll\beforeEach statement
  2. Can not reproduce with first test in a worker - only on second and later, so we need tests count more than workers
  3. Generate allure-report (or load to Allure TestOps) from allure-results jsons
  4. In second test in a worker we can see only trace.zip replacing first attachment. If we load it in https://trace.playwright.dev/ - we can see all attachments in exacts steps

Expected behavior
All attachments goes to exact step, also with a trace, if it configured

Screenshots
Image

Version

  • @playwright/test: 1.56.1
  • allure-playwright: 3.4.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions