Sha256: 74bfd45dbc3bad1d9b59a1a186c244ff69cc1c7a01a0cfd57d44539a69d6a81b

Contents?: true

Size: 1.8 KB

Versions: 37

Compression:

Stored size: 1.8 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 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      |

  @selenium_only
  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 |
    | css       |

  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  |

  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 test 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

37 entries across 37 versions & 4 rubygems

Version Path
page-object-1.2.0 features/ordered_list.feature
page-object-1.1.1 features/ordered_list.feature
page_object-1.1.3 features/ordered_list.feature
page_object-1.1.2 features/ordered_list.feature
page_object-1.1.1 features/ordered_list.feature
page-object-1.1.0 features/ordered_list.feature
page-object-lds-0.0.14 features/ordered_list.feature
page-object-lds-0.0.13 features/ordered_list.feature
page-object-lds-0.0.12 features/ordered_list.feature
page-object-lds-0.0.11 features/ordered_list.feature
page-object-lds-0.0.1 features/ordered_list.feature
page-object-1.0.3 features/ordered_list.feature
meeane-page-object-0.1.11 features/ordered_list.feature
page-object-1.0.2 features/ordered_list.feature
page-object-1.0.1 features/ordered_list.feature
page-object-1.0 features/ordered_list.feature
page-object-0.9.8 features/ordered_list.feature
page-object-0.9.7 features/ordered_list.feature
page-object-0.9.6 features/ordered_list.feature
page-object-0.9.5 features/ordered_list.feature