0:31:57
End-to-end testing Django applications using Pytest with Playwright
DjangoCon Europe 2025 · June 4, 2025
Jacob Rief explains how to test Django applications with Pytest and Playwright when server-rendered behavior is combined with client-side interactions, especially in HTMX applications. He contrasts Django’s unittest-based tools with Pytest fixtures, then shows how request-factory and test-client tests can be extended into browser-driven tests…