Once upon a time Zach Bloomquist and I were discussing how to achieve an all-time hero status. We were talking about our open source heroes of course, and I wanted to send Zach a link to the testing section of the Develop, Preview, Test blog post written by Guillermo Rauch. The testing section was i…
Number of posts: 57
Retry, Rerun, Repeat
If at first you don't succeed, then dust yourself off and try again. - American R&B singer Aaliyah (1979-2001)The modern Internet is built on retries. Software and hardware failures are normal and expected.…
When Can the Test Submit a Form?
In this blog post we continue exploring flaky tests and how to fix them. We will look at the situation when a page submits a form and then continues to interact with the page, which causes a problem. Tip: you can find all existing similar posts under the tag Flake. You can find the source code for t…
Testing an Application in Offline Network Mode
Modern web applications need to continue working when a network is unavailable, or at least show users the current network status. In this blog post, I will show how Cypress can simulate an offline network status during a test. Note: the source code for this blog post can be found in the "Offline" r…
Debug a Flaky Visual Regression Test
In our Cypress RealWorld App we are using visual regression testing to catch unintended style and layout changes. We are using the Percy.io service, and you can see the screenshots at https://percy.io/cypress-io/cypress-realworld-app. During tests, we periodically take image snapshots using cy.percy…