The first time this happens it looks like a Cypress bug. The test fails, you open the video, and the button is clearly disabled on the screen. The explanation is not obvious until you know how retrying works.
Let's start with that test.
Cypress retries only the last command before your check. Once you know this, confusing failures start to make sense.
The first time this happens it looks like a Cypress bug. The test fails, you open the video, and the button is clearly disabled on the screen. The explanation is not obvious until you know how retrying works.
Let's start with that test.
members only
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 →