Sha256: 752ca45dac613bc3144a12e3c5d05384bb18657ce22048a0714a288f6d0bb295

Contents?: true

Size: 963 Bytes

Versions: 28

Compression:

Stored size: 963 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      |
    | css       |

  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

28 entries across 28 versions & 4 rubygems

Version Path
page-object-0.9.4 features/list_item.feature
page-object-0.9.3 features/list_item.feature
page-object-0.9.2 features/list_item.feature
page-object-0.9.1 features/list_item.feature
page-object-0.9.0 features/list_item.feature
page-object-0.8.10 features/list_item.feature
page-object-0.8.9 features/list_item.feature
page-object-0.8.8 features/list_item.feature