Talk

Django E2E tests with Playwright

Thursday, May 28

11:45 - 12:15
RoomTagliatelle
LanguageEnglish
Audience levelIntermediate
Elevator pitch

Why should a Django developer care about E2E tests? Because using Playwright it is easy and rewarding! We’ll see some real use cases and some tips and tricks that I discovered experimenting with this test framework.

Abstract

End-to-end tests are often overlooked in Django projects: powerful in theory, but too slow or complex to adopt in practice or integrate in CI pipelines. We’ll start with a quick overview of what Playwright is, we’ll see how to integrate it into a Django test suite with minimal friction, using real examples to test common workflows like authentication and forms: some tips and tricks learned from real usage to keep tests fast, readable, and reliable, and to avoid the flakiness that gives E2E testing a bad reputation. We’ll close with a brief look at running Playwright tests in CI, highlighting best practices for stable and efficient pipelines.

TagsTesting, Web Frameworks
Participant

Leonardo Cavallucci

Python and Django developer working at Nephila since 2013. If I’m not in front of a computer, I’m probably playing volleyball or drinking beer somewhere.