Sha256: ee6f91ab721415659212c32a9d04212b1049c496b1797c01490c4eb2674510ac

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

Feature: Ordered list

  Background:
    Given I am on the static elements page
  
  Scenario: Getting the first element from the ordered list
    When I get the first item from the ordered list
    Then the list item's text should be "Number One"

  Scenario Outline: Locating ordered lists on the page
    When I search for the ordered list by "<search_by>"
    And I get the first item from the list
    Then the list item's text should be "Number One"
  
  Scenarios:
    | search_by |
    | id        |
    | class     |
    | xpath     |  

  @watir_only
  Scenario Outline: Locating ordered lists in Watir only
    When I search for the ordered list by "<search_by>"
    And I get the first item from the list
    Then the list item's text should be "Number One"

  Scenarios:
    | search_by |
    | index     |

  @selenium_only
  Scenario Outline: Locating ordered lists in Selenium only
    When I search for the ordered list by "<search_by>"
    And I get the first item from the list
    Then the list item's text should be "Number One"

  Scenarios:
    | search_by |
    | name      |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.0.4 features/ordered_list.feature