Opened 4 months ago

Last modified 8 weeks ago

#37154 closed Cleanup/optimization

Switch to Playwright tests for integration testing — at Version 7

Reported by: Varun Kasyap Pentamaraju Owned by: Varun Kasyap Pentamaraju
Component: Testing framework Version: dev
Severity: Normal Keywords:
Cc: Carlton Gibson Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Varun Kasyap Pentamaraju)

For Google Summer of Code 2026 project:
Mentor: Sarah Boyce

Feature Request Link:
​https://github.com/django/new-features/issues/13

Forum topic: ​https://forum.djangoproject.com/t/switch-to-playwright-tests-for-integration-testing/45257

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.

Change History (7)

comment:1 by Varun Kasyap Pentamaraju, 4 months ago

Owner: set to Varun Kasyap Pentamaraju

comment:2 by Jacob Walls, 4 months ago

Triage Stage: Unreviewed → Accepted
Type: New feature → Cleanup/optimization

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).

comment:3 by Carlton Gibson, 4 months ago

Cc: Carlton Gibson added

comment:4 by Varun Kasyap Pentamaraju, 3 months ago

Description: modified (diff)

Created Draft PR: ​https://github.com/django/django/pull/21596

Feedbacks are really appreciated.

comment:5 by Varun Kasyap Pentamaraju, 2 months ago

Has patch: set

comment:6 by Sarah Boyce, 2 months ago

Patch needs improvement: set

comment:7 by Varun Kasyap Pentamaraju, 2 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top