Step Reference - Ashthos/skutter GitHub Wiki

Reference

Logical Operations

When

Then

  • Checking text values
  • Checking unicode text values
  • Checking the 'value' of a dropdown|checkbox etc
  • Checking if an element is disabled

Sample Step Reference

These lists are not exhaustive, find more detail in each steps specification.

Steps that allow interaction with the rendered Html page.

When

  • When I click on the <identifier> element
  • When I type "<text>" into the <identifier> textbox
  • When I type <key> into the <identifier>
  • When I check the <identifier> checkbox
  • When I uncheck the <identifier> checkbox
  • When I select the "<option title>" option in the <identifier> dropdown
  • When I select the blank option in the <identifier> dropdown
  • When I clear the <identifier> textbox
  • When I am inspecting the <identifier> structure
  • When I am no longer inspecting the <identifier> structure
  • When I take a screenshot

Then

  • Then the <identifier> text is empty
  • Then the <identifier> text is not empty
  • Then the <identifier> text is "<text>"
  • Then the <identifier> text is unicode "<text>"
  • Then the <identifier> value is "<text>"
  • Then the <identifier> value is empty
  • Then the <identifier> textbox is disabled
⚠️ **GitHub.com Fallback** ⚠️