lecture 20 of 200 completed

Reading a failing test

Timeout messages, strict-mode violations and assertion diffs. Failures are reports, not riddles.

What you'll learn

  • How to read a Playwright timeout message literally
  • What a strict mode violation is telling you
  • How to find the cause instead of guessing

When a test fails, most beginners do one of two things. They change something at random and run it again, or they ask a senior engineer. Both are slow.

The truth is that Playwright usually tells you exactly what went wrong. The skill is reading the message literally, word by word. Let me show you the three you will see most often.

The timeout message.

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →