Sha256: 296c2639588d7012623147086d376fba4ec8611c650a8d63be3be1466b9231f8

Contents?: true

Size: 1.22 KB

Versions: 16

Compression:

Stored size: 1.22 KB

Contents

Feature: Unordered list

  Background:
    Given I am on the static elements page

  Scenario: Getting the first element from the unordered list
    When I get the first item from the unordered list
    Then the list items text should be "Item One"

  Scenario Outline: Locating unordered lists on the page
    When I search for the unordered list by "<search_by>"
    And I get the first item from the list
    Then the list items text should be "Item One"
    And the list should contain 3 items
    And each item should contain "Item"

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | xpath     |
    | index     |
    | name      |

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

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
page-object-0.7.5.1 features/unordered_list.feature
page-object-0.7.5 features/unordered_list.feature
page-object-0.7.4 features/unordered_list.feature
page-object-0.7.3 features/unordered_list.feature
page-object-0.7.2 features/unordered_list.feature
page-object-0.7.1 features/unordered_list.feature
page-object-0.7.0 features/unordered_list.feature
page-object-0.6.9 features/unordered_list.feature
page-object-0.6.8 features/unordered_list.feature
page-object-0.6.7 features/unordered_list.feature
page-object-0.6.6 features/unordered_list.feature
page-object-0.6.5 features/unordered_list.feature
page-object-0.6.4 features/unordered_list.feature
page-object-0.6.3 features/unordered_list.feature
page-object-0.6.2 features/unordered_list.feature
page-object-0.6.1 features/unordered_list.feature