Skip to content

All steps

Most of these steps should be self explanatory. On the examples page you can see more information abouth the steps.

Given

  • Given I am on the homepage
  • Given I am on "/subpage/"
  • Given I am using a <device>
  • Given I am using a window size of <height>x<width>
  • Given I am using an extra small device
  • Given I am using a small device
  • Given I am using a medium device
  • Given I am using a large small device
  • Given I am using an extra large device

When

  • When I go to the homepage
  • When I reload the page
  • When I move backward one page
  • When I move forward one page
  • When I go to "/subpage/"
  • When I press "button-with-id"
  • When I move my mouse to "Move mouse here"
  • When I type in field "field-name" the value "the-value"
  • When I fill in the following: (multi-line, see examples)

Then

  • Then I should see "Content - 1"
  • Then the checkbox "checkbox-1" is checked
  • Then the checkbox "checkbox-1" is not checked
  • Then the radiobutton "radio-1" is checked
  • Then the radiobutton "radio-2" is not checked