---
title: "End-to-end test probes with Playwright"
description: "Zalando turned its end-to-end tests into production probes: a small set of Playwright scenarios covering critical customer journeys runs every 30 minutes and pages on-call when it fails."
url: "https://swe.quest/articles/end-to-end-test-probes-with-playwright-7071f390329a920e"
canonical: "https://engineering.zalando.com/posts/2024/07/end-to-end-test-probes-with-playwright.html"
source: "Zalando Engineering"
published: "2024-07-18"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["testing","observability","frontend","typescript"]
---

# End-to-end test probes with Playwright

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2024-07-18, 6 min read, Case study. Original: [https://engineering.zalando.com/posts/2024/07/end-to-end-test-probes-with-playwright.html](https://engineering.zalando.com/posts/2024/07/end-to-end-test-probes-with-playwright.html)

## Summary

Zalando turned its end-to-end tests into production probes: a small set of Playwright scenarios covering critical customer journeys runs every 30 minutes and pages on-call when it fails. The trigger was an incident in which bad headless CMS content broke React hydration on product pages, which neither the Cypress pre-release tests (about 95% reliable after hardening) nor existing alerting caught. Playwright's auto-wait, web-first assertions, fixtures, expect.toPass retry loops and :visible pseudo-class selectors made the simplified tests resilient. The tests first ran for a few weeks in a low-priority email-only 'shadow' mode to remove flakiness, and after paging was enabled they fired only once, during a real outage. The main advice is to keep probes focused on critical journeys, write good selectors, and iterate in shadow mode before paging.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)

## Prerequisites

- end-to-end testing basics ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))
- React server-side rendering and hydration ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- on-call alerting ([easy posts on Incidents & postmortems](https://swe.quest/tags/incident-response.md?difficulty=easy))

## Keywords

Playwright, Cypress, React, Zalando

## Related posts

- [Building On-call: Continually testing with smoke tests](https://swe.quest/articles/building-on-call-continually-testing-with-smoke-tests-7d1cd2c2e1ed63ef.md): incident.io · 2024-08-09 · Medium · 7 min read · Testing, SRE, CI/CD, Resilience
  incident.io runs an end-to-end smoke test suite for its On-call paging product every minute against production and staging, and also on every pull request and deploy using containers on a single machine.
- [Agentic Testing: Where Agents Fit in the E2E Testing Stack](https://swe.quest/articles/agentic-testing-where-agents-fit-in-the-e2e-testing-stack-fa760680a95bc5c9.md): Slack Engineering · 2026-06-11 · Medium · 11 min read · Testing, AI agents, LLMs, Cost optimization
  Across 200+ agent-driven E2E runs against Slack test workspaces, agents using Playwright MCP were the most reliable (0% failures on a simple thread-reply flow, ~12% on a longer search flow).
- [Automated Accessibility Testing at Slack](https://swe.quest/articles/automated-accessibility-testing-at-slack-ada6bed3cb3ffab2.md): Slack Engineering · 2025-01-07 · Medium · 12 min read · Accessibility, Testing, Frontend, CI/CD
  Slack added automated accessibility checks to its desktop end-to-end tests by integrating Axe into Playwright via @axe-core/playwright, after embedding checks in Jest/React Testing Library proved impractical with its custom Jest setup.
- [Rendering huge pull requests in the GitHub Copilot app](https://swe.quest/articles/rendering-huge-pull-requests-in-the-github-copilot-app-dfdd1afcfdc347d9.md): GitHub Engineering · 2026-09-23 · Medium · 13 min read · Frontend, Web performance, Performance engineering, Testing, Observability
  The GitHub Copilot app's pull request view stays responsive on a 2,200-file, million-line diff with 400+ review comments by splitting document height into two geometries: exact, precomputed prefix-summed code rows and lazily measured dynamic blocks for comments, drafts and composers.
- [Testing a React App in Chrome with Heroku CI](https://swe.quest/articles/testing-a-react-app-in-chrome-with-heroku-ci-e2feb9ae270e7d84.md): Heroku Engineering · 2024-09-24 · Medium · 9 min read · Testing, CI/CD, React, JavaScript
  End-to-end browser tests for a React app can run automatically in Heroku CI using headless Chrome installed by the Chrome for Testing Heroku Buildpack.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
