lecture 12 of 200 completed

Content that appears, changes and disappears

Lists that load late, rows that update in place, and messages that vanish. Where auto-waiting saves you and where it does not.

What you'll learn

  • Why content that loads late breaks a naive test
  • How to keep an assertion retrying instead of reading a value once
  • Why a permanent result beats a temporary message

The contacts page shows a spinner, then the table appears. Your test opens the page and counts the rows immediately. It finds zero.

Playwright handles most of this for you, which is exactly why the cases where it cannot are worth knowing.

Content that arrives late.

This works, and it is worth understanding why:

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 →