allure-framework / allure-framework/allure-java

🐞: Selenium BiDi attachments land in the tearDown fixture, not the test result

Open
#1,322 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
376
Forks
240
Avg merge
1d 7h
Merged PRs (30d)
45

Description

### What happened?

When a WebDriver decorated with `AllureWebDriverBiDi` is closed via `driver.quit()` inside a JUnit 5 `@AfterEach`, the resulting "WebDriver BiDi network"/"WebDriver BiDi log" attachments are written to the `tearDown` fixture container instead of the test result itself.

### What Allure Integration are you using?

allure-selenium-bidi

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

3.0-SNAPSHOT, commit 22cb1020

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

3.14.0

### Code of Conduct

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

Contributor guide

Open the contributing guide

Research direction

Start in the allure-selenium-bidi integration and reproduce the case with AllureWebDriverBiDi, JUnit 5, and driver.quit() inside @AfterEach. Check how the resulting "WebDriver BiDi network" and "WebDriver BiDi log" attachments are associated with the test result versus the tearDown fixture. Done means both attachments belong to the test result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.