Sha256: da487d2f38e4e159519e1ff72c22fc830e48f2b81073041ac43a1b92c36283e0

Contents?: true

Size: 1.46 KB

Versions: 5

Compression:

Stored size: 1.46 KB

Contents

Feature: Ordered list

  Background:
    Given I am on the static elements page

  Scenario: Getting the first element from the ordered list
    When I get the first item from the ordered list
    Then the list item's text should be "Number One"

  @name
  Scenario Outline: Locating ordered lists on the page
    When I locate the ordered list by "<locate_by>"
    And I get the first item from the list
    Then the list item's text should be "Number One"
    And the list should contain 3 items
    And each item should contain "Number"

  Examples:
    | locate_by |
    | id        |
    | class     |
    | xpath     |
    | index     |
    | css       |

  @multi
  Scenario Outline: Locating ordered lists using multiple parameters
    When I search for the ordered list by "<param1>" and "<param2>"
    And I get the first item from the list
    Then the list items text should be "Number One"

    Examples:
    | param1  | param2  |
    | class   | index   |

  @locator
  Scenario: Finding a ordered list dynamically
    When I search for the ordered list while the script is executing
    Then I should see that the ordered list exists
    When I get the first item from the list
    Then the list items text should be "Number One"

  Scenario: Getting the text for an ordered list
    Then the text for the ordered list should contain "Number One"
    And the text for the ordered list should contain "Number Two"
    And the text for the ordered list should contain "Number Three"

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/ordered_list.feature
druid-ts-1.2.6 features/ordered_list.feature
druid-ts-1.2.5 features/ordered_list.feature
druid-ts-1.2.4 features/ordered_list.feature
druid-ts-1.2.3 features/ordered_list.feature