lecture 1 of 150 completed

How retrying really works

Linked Cypress queries retry together. Learn when a new query is needed after an action.

What you'll learn

  • Explain how linked queries retry together
  • Find the current element after an action replaces it
  • Recognise a plain value that will not update when the page changes

A reading list is still loading when a test looks for an entry. The page later replaces the whole list. The test needs to find the current elements when it retries.

The examples use an invented reading-list page. It is not a TestAcademy practice app. They describe a local Cypress project with that page.

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 →