Flaky Tests 2.0
summary
Presents practical ways to reduce flaky UI tests using Selenide (claimed to fix about 90% of flakes) and investigative techniques—video recording, preserved logs, screenshots, and targeted experiments—to triage the remaining 10%. Describes fixes such as sequencing POST requests in production to remove nondeterminism, splitting tests so each asserts one thing, and injecting a CSS file to disable animations during tests, which together substantially reduce but do not entirely eliminate flakes.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 3:13Flaky tests problem
- 5:43Flaky test example
- 7:31Selenium flakiness
- 10:20Date card flakiness
- 13:54Async requests flakiness
- 17:52Phone validation flakiness
- 23:50UI animation flakiness
- 28:03Selenium click issues
- 31:58Card masking flakiness
- 36:41404 pages flakiness
- 39:31Binary search flakiness
- 41:15Fixing flaky tests
- 43:47Logging tools
- 44:31Call to action
related talks
47mHow to Un-Flake Flaky Tests- a New Hire's Toolkit
01h 09mFlaky Tests: The Method
40mFinding Flakiness: The Real Reasons Your Tests Aren't Reliable
22mTest Confidence: Types of Flake & How to Remediate
50mFlaky tests
28mTest flakiness; methods for dealing with flaky tests
26mKeeping Your Tests Lean
44mTechniques to Eradicate Flaky Tests
