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.

members only

Keep reading with the full course

The Foundations track and the first 5 lectures of each framework are free. This lecture is part of the paid course, which unlocks every lecture, all three frameworks, and downloads.

See the options →