Sha256: 27f79ecc612034572ce320dd95a5db6c0a8c59efdd56b012964d8de34e916745

Contents?: true

Size: 927 Bytes

Versions: 11

Compression:

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

  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

11 entries across 11 versions & 1 rubygems

Version Path
page-object-0.7.1 features/list_item.feature
page-object-0.7.0 features/list_item.feature
page-object-0.6.9 features/list_item.feature
page-object-0.6.8 features/list_item.feature
page-object-0.6.7 features/list_item.feature
page-object-0.6.6 features/list_item.feature
page-object-0.6.5 features/list_item.feature
page-object-0.6.4 features/list_item.feature
page-object-0.6.3 features/list_item.feature
page-object-0.6.2 features/list_item.feature
page-object-0.6.1 features/list_item.feature