Sha256: 9fdcd43e9648e98af6363ac9a3d402c89e5ff343f095fcce96bccf098224af6a

Contents?: true

Size: 945 Bytes

Versions: 5

Compression:

Stored size: 945 Bytes

Contents

Feature: List item

  Background:
    Given I am on the static elements page

  Scenario: Getting the text from a list item
    When I get the text from the list item
    Then the text should be "Item One"

  Scenario Outline: Locating list items on the page
    When I search for the list item by "<search_by>"
    Then the text should be "Item One"

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

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page-object-0.7.5.1 features/list_item.feature
page-object-0.7.5 features/list_item.feature
page-object-0.7.4 features/list_item.feature
page-object-0.7.3 features/list_item.feature
page-object-0.7.2 features/list_item.feature