Cypress 13

Eliminate a flaky test

Hard120 pts~45 min
  • Order Tracker
Practice app · Order Tracker

Asynchronous UI that appears, changes and disappears on timers — for explicit, implicit and fluent waits.

Test URL
/lab/cypress-eliminate-a-flaky-test

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Eliminate a flaky test. Practise it against the Order Tracker practice application (Asynchronous UI that appears, changes and disappears on timers — for explicit, implicit and fluent waits.).

Your task

  1. 1Open the practice application at the test URL shown above and wait for it to finish loading.
  2. 2Inspect the page to find the elements you need — key elements include #load-status, #spinner, #order-status.
  3. 3Write and run a test that demonstrates: eliminate a flaky test.
  4. 4Finish with at least one assertion on a user-visible outcome, not an internal detail.

Acceptance criteria

  • The test runs to completion without errors.
  • The test contains at least one passing assertion on a user-visible outcome.

Cypress 13 · Cypress · Reliability & CI