Sha256: 8052083a2f69ab9917d42d181e179d7f0be070bb877af70c2279fa435734a779

Contents?: true

Size: 1.82 KB

Versions: 37

Compression:

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

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

  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"

  Scenario: Getting the text from an unordered list
    Then the text for the unordered list should contain "Item One"
    And the text for the unordered list should contain "Item Two"
    And the text for the unordered list should contain "Item Three"

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
page-object-1.2.0 features/unordered_list.feature
page-object-1.1.1 features/unordered_list.feature
page_object-1.1.3 features/unordered_list.feature
page_object-1.1.2 features/unordered_list.feature
page_object-1.1.1 features/unordered_list.feature
page-object-1.1.0 features/unordered_list.feature
page-object-lds-0.0.14 features/unordered_list.feature
page-object-lds-0.0.13 features/unordered_list.feature
page-object-lds-0.0.12 features/unordered_list.feature
page-object-lds-0.0.11 features/unordered_list.feature
page-object-lds-0.0.1 features/unordered_list.feature
page-object-1.0.3 features/unordered_list.feature
meeane-page-object-0.1.11 features/unordered_list.feature
page-object-1.0.2 features/unordered_list.feature
page-object-1.0.1 features/unordered_list.feature
page-object-1.0 features/unordered_list.feature
page-object-0.9.8 features/unordered_list.feature
page-object-0.9.7 features/unordered_list.feature
page-object-0.9.6 features/unordered_list.feature
page-object-0.9.5 features/unordered_list.feature