Open
Description
Code of Conduct
- I agree to follow Django's Code of Conduct
Feature Description
Replace Selenium with Playwright.
Problem
Most people seem to hate writing Selenium tests. People seem to hate a bit less writing Playwright tests.
While there would be a good deal of churn involved I think this would be a net positive for maintenance.
Request or proposal
proposal
Additional Details
I've been using Playwright at work for some time and it seems to work quite well, especially compared with Selenium. If you use it correctly, which is not too difficult, it seems to be much less flaky than Selenium and new issues never seem to appear when upgrading.
Implementation Suggestions
I think the process would go something like:
- Add Playwright to the test suite and migrate one test to it (or write a new one)
- Require new tests be written using Playwright (we can consider if this applies to already-open PRs or not)
- Incrementally rewrite existing tests using Playwright
- Turn off Selenium
Metadata
Metadata
Assignees
Type
Projects
Status
Idea refinement - Team creation - For approval