Sha256: b9b25fbb845cc294cda47c7034f5dcb0a082ef12a68de66817ec3a6d8123a53f

Contents?: true

Size: 1.16 KB

Versions: 16

Compression:

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

  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
    And I get the first item from the list
    Then the list items text should be "Number One"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
page-object-0.6 features/ordered_list.feature
page-object-0.5.5 features/ordered_list.feature
page-object-0.5.4 features/ordered_list.feature
page-object-0.5.3 features/ordered_list.feature
page-object-0.5.2 features/ordered_list.feature
page-object-0.5.1 features/ordered_list.feature
page-object-0.5.0 features/ordered_list.feature
page-object-0.4.4 features/ordered_list.feature
page-object-0.4.3 features/ordered_list.feature
page-object-0.4.2 features/ordered_list.feature
page-object-0.4.1 features/ordered_list.feature
page-object-0.4.0 features/ordered_list.feature
page-object-0.3.2 features/ordered_list.feature
page-object-0.3.1 features/ordered_list.feature
page-object-0.3.0 features/ordered_list.feature
page-object-0.2.5 features/ordered_list.feature