Skip to main content
Home

Main navigation

  • Home
  • Products
  • Services
  • Docs
  • Blog
  • About us
  • Contact

Breadcrumb

  1. Home
  2. Documentation
  3. Webship JS 1.0.x
  4. Step Definitions
  5. When I wait

When I wait {number} minutes

  • Documentation
    • Webship JS 1.0.x
      • Install Webship JS
      • Global Settings
      • Step Definitions
        • Given I am on homepage
        • Given I am on "specific page"
        • When I go to the homepage
        • When I go to "specific page"
        • When I reload the page
        • When I move backward one page
        • When I move forward one page
        • When I fill in
        • When I press "button"
        • When I click "link"
        • When I check "checkbox"
        • When I uncheck "checkbox"
        • When I select "option" from "select list"
        • When I wait
          • When I wait until the page loaded
          • When I wait {number} seconds
          • When I wait max of {number} seconds
          • When I wait {number} minutes
          • When I wait max of number minutes
        • Then I should see
        • Then I should be
        • Then the "item" checkbox
        • Then the item should contain
        • Then the "item" link should contain "url"
        • Then the response status code should be {number}
        • When I attach the file "file name" to "element"
        • When I scroll
      • Assertions
      • Commands
      • Needed Tools
    • Integrations

This step definition is used as a command to wait a specified period of minutes before executing the next step.

When (I |we )*wait (\d*)( minute| minutes|m)?

Whatever the specified period is, it will wait for it to end.

 

Examples:

When I wait 1 minute
When I wait 10 minutes
When we wait 1m
When wait 2s
When wait 2 minutes
When we wait 1 minute
When we wait 10 minutes
When we wait 2m

 

 

Boost your site's success with automated testing

For Commercial Professional Support

Contact Us

Daily Automated Functional Acceptance Testing Daily Automated Functional Acceptance Testing

© Copyrights 2022 - 2025 Webship.co All Rights Reserved.

Webtheme Footer

  • Privacy
  • About us
  • Contact

Home

Webtheme social media menu

  • Github
  • Gitlab
  • Bitbucket
  • X
  • Linkedin
  • Youtube