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. Then I should be

Then I should be on (the) homepage

  • Documentation
    • Webship JS 1.0.x
      • Install Webship JS
      • 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 attach the file "file name" to "input file"
        • When I wait
        • Then I should see
        • Then I should be
          • Then I should be on (the) homepage
          • Then I should not be on (the) homepage
          • Then I should be on "specific page"
          • Then I should not be on "specific page"
        • 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"
      • Assertions
      • Commands
      • Needed Tools
    • Integrations

This step definition is used to be sure that the current page is the homepage.

 

Then (I|we)* should be on( the)* homepage

 

Define a step to verify that the current page is the homepage. A static sentence has no probabilities.

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