allure-framework / allure-framework/allure-js

Set environment info during test execution

Open
#734 2 comments 0 reactions 0 assignees View on GitHub
theme:playwright
Dominant language
TypeScript
Stars
281
Forks
137
Avg merge
1d 11h
Merged PRs (30d)
13

Description

I am using allure-playwright integration which is working nicely for my purposes. Only issue is that I would need to set environment info during execution, because I don't know the environment beforehand. This is due to tests connecting to external hardware from which we query information.

Currently, the environment info can be modified only in the reporter configuration. Would it be feasible to allow setting of environment info during test execution?

I tried to change environmentInfo by accessing reporter configuration via Playwright's test info object, but it seems that the configuration is only read when the reporter is constructed.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the allure-playwright reporter configuration and Playwright's test info object to understand when environmentInfo is read. Define how environment data supplied during test execution should reach the reporter, and verify that hardware-derived values appear in the generated Allure results.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, typescript
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.