microsoft / microsoft/playwright

[Feature]: Trace viewer: Add timeout-risk highlighting for actions in Playwright traces

Open
#40,681 5 comments 5 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

It would be useful if Playwright traces could visually highlight actions based on how close they came to their configured timeout. It seems like the trace file for the most part has all of the info to work this out.

### Example

something so it can searched for in the `Filter Actions` seach box ?

Image
(ms paint mockup)

### Motivation

Many tests pass successfully but still contain actions that regularly run close to their timeout limit. For example, an action that takes 25 seconds with a 30 second timeout may pass, but it is likely to become flaky when the environment is slower.

Contributor guide

Open the contributing guide

Research direction

Begin by examining the trace file data and the Trace viewer's “Filter Actions” entry point to determine which timing and timeout fields are available. Define what qualifies as timeout-risk and make the result visible or searchable for actions; done means the viewer reliably identifies near-timeout actions without losing existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, typescript
Domain
devtools, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.