Sha256: 68a08a95a2aedee0ddeef7ee3193344be09ad2008a98aa693f5f54af39909df9

Contents?: true

Size: 987 Bytes

Versions: 3

Compression:

Stored size: 987 Bytes

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 items text should be "Number One"

  Scenario Outline: Locating ordered lists on the page
    When I search for the ordered list by "<search_by>"
    And I get the first item from the list
    Then the list items text should be "Number One"
    And the list should contain 3 items
    And each item should contain "Number"
  
  Scenarios:
    | search_by |
    | id        |
    | class     |
    | xpath     |  
    | index     |
    | name      |

  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"

  Scenarios:
    | param1  | param2  |
    | class   | index   |
    | name    | index   |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.2 features/ordered_list.feature
page-object-0.1.1 features/ordered_list.feature
page-object-0.1 features/ordered_list.feature