Opened 3 weeks ago
Last modified 3 weeks ago
#37154 assigned Cleanup/optimization
Switch to Playwright tests for integration testing
| Reported by: | Varun Kasyap Pentamaraju | Owned by: | Varun Kasyap Pentamaraju |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Carlton Gibson | Triage Stage: | Accepted |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
For Google Summer of Code 2026 project:
Mentor: Sarah Boyce
Feature Request Link:
https://github.com/django/new-features/issues/13
This project aims to modernize Django’s integration testing by introducing Playwright as an alternative to Selenium. The work includes integrating Playwright with Django’s test framework, migrating existing browser-based tests, and ensuring compatibility with Django’s CI infrastructure. The goal is to improve test reliability, performance, and developer experience for Django core contributors.
Attaching draft PR created in my fork: https://github.com/varunkasyap/django/pull/7/
Change History (3)
comment:1 by , 3 weeks ago
| Owner: | set to |
|---|
comment:2 by , 3 weeks ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Type: | New feature → Cleanup/optimization |
comment:3 by , 3 weeks ago
| Cc: | added |
|---|
Accepting based on new-features discussion. Removing "new feature" as I don't expect us to document this (the
SeleniumTestCaseis only documented in the contributing docs).