lecture 14 of 160 completed

The walls, and what to do when you hit one

Multiple tabs, multiple origins, downloads, iframes. A senior names the wall accurately and decides what to do about it.

What you'll learn

  • Which walls Cypress has, and why
  • The four options when you hit one
  • Why an unrecorded coverage gap is the worst outcome

The first lecture in this track explained why Cypress has walls. This one is the practical list, and more importantly, what to do at each one.

The senior behaviour being taught here is not memorising workarounds. It is naming the limit accurately, choosing deliberately, and being able to say "this is the wrong tool for this test" without it being an attack on the tool.

Multiple tabs. Not supported, and will not be.

A test cannot control a second tab, because a tab cannot control another tab.

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 →