Skip to content
masterclass Buddy

Cypress · Method

cy.tick

cy.tick() advances the fake clock by a chosen number of milliseconds. Use cy.clock() first so Cypress controls native time functions and runs timers scheduled in that interval.

Last updated

Since
0.18.8

Syntax

cy.tick(milliseconds, options)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • cy.clock()
  • cy.spy()
  • cy.stub()
  • clock.tick(milliseconds)
  • clock.restore()

Source: cy.tick() | Cypress API Documentation. Checked 2026-11-03.