Say No To

Flaky Tests

I'm Srinivasan

Lead Consultant

@srinivasanskr

srinivasanTarget

Simple Microservices Architecture

Why are tests flaky?

Third-Party Services

Performance issues

Parallel Deployments

Flaky Tests

Locator changes

Environment Instability

Data issues

Test Implementations

Shift Left TESTING

Write fewer end-to-end tests as possible

Focus on user personas and critical user journeys

Choose your end wisely

Reliable Test Infrastructure

Intelligent waits

Selenide

Selenium Auto Waits

Browser Events

Browser Events

  • DOMContentLoaded
  • loadEventFired
  • networkAlmostIdle
  • networkIdle
  • firstPaint
  • firstContentfulPaint
  • firstMeaningfulPaint
  • targetNavigated

Service Virtualisation

Wiremock

Montebank

Tools

Specmatic

Pact

FlakyTests

By Srinivasan Sekar

FlakyTests

  • 255