button-icon

Entrar

Entrar
Archi's Academy
    Cursos
    Cursos
    #
  • Projetos
    Projetos
  • Archi's Academy

    Trilhas

    #
  • Blog
    Blog
  • Precos
    Precos
  • Contato
    Contato
  • Para clubes universitarios
    Para clubes universitarios

BLACK FRIDAY

85% de desconto durante todo novembro

whatsapp
Entre em contato
Archi's Academy

Navegacao

  • Cursos
  • Projetos
  • Blog
  • Precos
  • Para clubes universitarios
  • Contato

Cursos

    Trilhas

    • Desenvolvimento Frontend
    • Desenvolvimento Backend
    • Garantia de Qualidade (QA)
    • Programacao com IA Agente e LLMs
    • Desenvolvimento Mobile
    • DevOps

    Legal

    • Politica de Privacidade
    • Termos de Servico

    Contato

    +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

    Pronto para transformar conhecimento em habilidades reais?

    Comece a construir com formacao guiada por projetos e ganhe experiencia pratica desde o primeiro dia.

    TOC

    Table of Content

    No sections found