[Django] #37154: Switch to Playwright tests for integration testing

1 view
Skip to first unread message

Django

unread,
2:27 AM (10 hours ago) 2:27 AM
to django-...@googlegroups.com
#37154: Switch to Playwright tests for integration testing
-------------------------------------+-------------------------------------
Reporter: Varun | Owner: (none)
Kasyap Pentamaraju |
Type: New | Status: assigned
feature |
Component: Testing | Version: dev
framework |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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/
--
Ticket URL: <https://code.djangoproject.com/ticket/37154>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
2:28 AM (10 hours ago) 2:28 AM
to django-...@googlegroups.com
#37154: Switch to Playwright tests for integration testing
-------------------------------------+-------------------------------------
Reporter: Varun Kasyap | Owner: Varun
Pentamaraju | Kasyap Pentamaraju
Type: New feature | Status: assigned
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Varun Kasyap Pentamaraju):

* owner: (none) => Varun Kasyap Pentamaraju

--
Ticket URL: <https://code.djangoproject.com/ticket/37154#comment:1>

Django

unread,
9:13 AM (3 hours ago) 9:13 AM
to django-...@googlegroups.com
#37154: Switch to Playwright tests for integration testing
-------------------------------------+-------------------------------------
Reporter: Varun Kasyap | Owner: Varun
Pentamaraju | Kasyap Pentamaraju
Type: | Status: assigned
Cleanup/optimization |
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* stage: Unreviewed => Accepted
* type: New feature => Cleanup/optimization

Comment:

Accepting based on new-features discussion. Removing "new feature" as I
don't expect us to document this (the `SeleniumTestCase` is only
documented in the contributing docs).
--
Ticket URL: <https://code.djangoproject.com/ticket/37154#comment:2>
Reply all
Reply to author
Forward
0 new messages