Sha256: 7f9f9d17ad25d4383ac666adda0677e4a3001f01f99844a61a35b6f23e901cb3

Contents?: true

Size: 1.13 KB

Versions: 10

Compression:

Stored size: 1.13 KB

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      |

  @selenium_only
  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 |
    | 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

10 entries across 10 versions & 1 rubygems

Version Path
page-object-0.8.7 features/list_item.feature
page-object-0.8.6.1 features/list_item.feature
page-object-0.8.6 features/list_item.feature
page-object-0.8.5 features/list_item.feature
page-object-0.8.4 features/list_item.feature
page-object-0.8.3 features/list_item.feature
page-object-0.8.2 features/list_item.feature
page-object-0.8.1 features/list_item.feature
page-object-0.8 features/list_item.feature
page-object-0.7.6 features/list_item.feature