End to End with Testcontainers and Playwright

Track:
Testing, Quality Assurance, Security
Type:
Talk
Level:
intermediate
Duration:
30 minutes

Abstract

Testing is a cornerstone of software development, but many teams struggle with end-to-end (E2E) testing due to its complexity, inconsistent results, and maintenance overhead.

While unit testing has become the default choice due to its simplicity, it often fails to catch integration issues that only surface in real-world scenarios. This talk challenges the notion that E2E testing must be difficult by introducing the powerful combination of Testcontainers and Playwright. We'll demonstrate how Testcontainers brings unit test-like simplicity to integration testing, while using Playwright to enable writing tests that represent actual usage of the system through a developer-friendly API.

Attendees will learn how to leverage a combination of Testcontainers and Playwright to create stable test environments, understand best practices for container-based and browser testing, and walk away with practical knowledge on how to improve their testing strategies. Whether you're a testing enthusiast or just getting started with testing in Python, this session will equip you with tools and techniques to make E2E testing as approachable as writing simple unit tests.