microsoft / microsoft/playwright

[Feature]: Attach webServer output logs as whole run artifacts

Open
#38,877 0 comments 3 reactions 0 assignees View on GitHub
P3-collecting-feedback
Dominant language
TypeScript
Stars
96.3k
Forks
6.5k
Avg merge
1d 6h
Merged PRs (30d)
180

Description

### 🚀 Feature Request

When webServer exits prematurely you only get to see the error message in report but not the actual logs. Even if you pipe stdout and stderr in the config. One option is to check ci/cd logs but with all other things happening there it's not always convenient.

It would be useful, in case stdout and stderr is piped, that those logs would be attached to whole run (not some specific test). Perhaps it could be configurable if one does not want those logs.

Image

### Example

_No response_

### Motivation

-

Contributor guide

Open the contributing guide

Research direction

Start by tracing how webServer stdout and stderr are piped and how whole-run artifacts are currently attached. Determine the existing handling for prematurely exiting webServer processes and identify the relevant tests for reports or artifacts. Done means configured logs are attached to the whole run rather than a specific test, with optional behavior if supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, typescript
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.