button-icon

Login

Login
Archi's Academy
    Courses
    Courses
    #
  • Projects
    Projects
  • Archi's Academy

    Tracks

    #
  • Blogs
    Blogs
  • Pricing
    Pricing
  • Contact
    Contact
  • For Student Clubs
    For Student Clubs

BLACK FRIDAY

85% Discount for all November

whatsapp
Get in touch
Archi's Academy

Navigation

  • Courses
  • Projects
  • Blogs
  • Pricing
  • For Student Clubs
  • Contact Us

Courses

    Tracks

    • Frontend Development
    • Backend Development
    • Quality Assurance
    • Agentic AI Coding & LLMs
    • Mobile Development
    • DevOps

    Legal

    • Privacy Policy
    • Terms of Service

    Contact

    +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

    Wednesday, Jan 20, 2021

    Ready to turn insights into real skills?

    Start building with guided, project-based training and gain hands-on experience from day one.

    TOC

    Table of Content

    No sections found