Sha256: ff343c6799f8ccadc843764ce4aad711b480db6693b4578b6a803e206d8ef89f

Contents?: true

Size: 993 Bytes

Versions: 3

Compression:

Stored size: 993 Bytes

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      |

  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   |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.2 features/unordered_list.feature
page-object-0.1.1 features/unordered_list.feature
page-object-0.1 features/unordered_list.feature