SeleniumLab

Course2 · Senior QA judgment → Senior QA — Real Cases

2 · Senior QA judgment

Flaky automation and CI triage

16 min · Module 14

Flakes burn trust. Senior QA separates: product bug, env issue, test anti-pattern (sleep, brittle XPath, shared mutable data), and infra noise.

In the Lab, prefer stable data-testid / id selectors, unique ticket subjects, and explicit waits for slow create on buggy releases.

Example / notes

from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

# Anti-flake pattern for Lab create ticket under slow_create:
# WebDriverWait(driver, 10).until(EC.url_contains("/lab/app/tickets/"))

Practice in Lab: /lab/app/

Log in to track progress / take quizzes
← Risk-based testing before a release Escape analysis and production incidents →
Modules in this track