-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Description
Objective
Investigate how to make Playwright faster by detecting which parts of a website have been changed by a given PR.
Approach
- Use extended reasoning (ultrathink) to analyze PRs and determine affected website elements
- Build dependency graphs of page elements and their relationships
- Identify which selectors, elements, or page regions are affected by code changes
- Skip or optimize test runs for unaffected areas
Key Questions
- Can we statically analyze PR diffs to predict affected page areas?
- Should we maintain a mapping of code changes to UI components?
- How can we cache test results for unchanged regions?
- What's the overhead of change detection vs. savings from skipped tests?
Potential Benefits
- Faster test feedback by running only affected tests
- Reduced compute costs
- More granular test reporting
Related Concepts
- Change impact analysis
- Dependency tracking for web components
- Smart test selection
- Region-based testing strategies
Metadata
Metadata
Assignees
Labels
No labels