button-icon

Iniciarsesión

Iniciarsesión
Archi's Academy
    Cursos
    Cursos
  • Proyectos
    Proyectos
  • Archi's Academy

    Tracks

    #
  • Blog
    Blog
  • Precios
    Precios
  • Contacto
    Contacto
  • Para clubs universitarios
    Para clubs universitarios

BLACK FRIDAY

85% de descuento durante todo noviembre

whatsapp
Contáctanos
Archi's Academy

Navegación

  • Precios

Legal

  • Política de privacidad
  • Términos de servicio

Contacto

+1 (217) 200 90 93
Suite No: 8, 400 Emmet Street
Kissimmee, Florida 34741 USA
[email protected]

Copyright © Tech Career Yazılım Danışmanlık A.Ş. 2026

instagramlinkedingithubyoutubexfacebook
visamastercardstripeiyzicoamerican-express
ETBIS
  1. Home›
  2. Blog›
  3. Let's try to stop the time!

Manual testing

Let's try to stop the time!

Let's try to stop the time! with a command in cypress. If we want to test a timer on our website, we can use this command and proceed.
How does it work?
Before using cy. clock our timer in the website has been running. But when we use it, the timer stops on 0. Fortunately, it is expected behavior in our test-case scenario. We've set and stopped the time. Now we can test the timer easily. cy. clock() command overrides native global functions related to time allowing them to be controlled synchronously via cy. tick() or the yielded clock object.
You can find more info about cy. clock in the URL:
https://docs.cypress.io/api/commands/clock.html#Syntax[text](link)
Surumi-skill-training

Surumi Riju

Çarşamba, Oca 20, 2021

¿Listo para convertir el conocimiento en habilidades reales?

Empieza a construir con formación guiada por proyectos y gana experiencia práctica desde el primer día.

TOC

Table of Content

No sections found