EuroPython 2025

Good Practices for Testing Web User Interfaces
2025-07-17 , Terrace 2A

Often our UI tests are failing because they are flaky and slow, or because the underlying server is slow. That makes the test suite very unstable, and makes it harder to find real issues. In an Open Source world this problem is even worse when your tests run as part of a gating job, because it blocks patches from being merged. In this talk we will explore a few techniques that make our test suite more stable and faster, together with specific code examples using PyTest and Selenium.

Attendees will get a chance to learn about:
1. The difference between unit tests and integration tests.
2. Using API calls to perform test setup and verification.
3. Limiting the scope of a test by Pytest mocking.
4. Advanced features like dependency injection and parametrization.

This session is ideal for anyone who needs to make their user interface test suite more stable or wants to get started writing tests for their web application.


Expected audience expertise:

Intermediate

I am a Software Quality Engineer with Red Hat over 5 years of experience and has been contributing to Openstack which is one of the most active python opensource project . I have been contributing to openstack horizon and openstack tempest testing frameworks.

I'm a lifelong learner, constantly experimenting with new tools and contributing to open-source projects.

Sharing knowledge and empowering others to embrace technology's potential fuels my fire. Beyond coding, I find inspiration in brainstorming sessions and stimulating discussions. This would be my 2nd talk at the EuroPython.

Software QE with a passion for test automation, cloud and DevOps. Red Hatter, open source contributor, OpenStack Horizon core member, Czechitas coach. Originally from the field of electrical engineering.