Sha256: 8ebe70bd18cd91b6e2b898fd6a4c023fa4f8036a8e3101349900b880dc07045c

Contents?: true

Size: 996 Bytes

Versions: 1

Compression:

Stored size: 996 Bytes

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"

  @name
  Scenario Outline: Locating ordered lists on the page
    When I locate the ordered list by "<locate_by>"
    And I get the first item from the list
    Then the list item's text should be "Number One"
    And the list should contain 3 items
    And each item should contain "Number"

  Examples:
    | locate_by |
    | id        |
    | class     |
    | xpath     |
    | index     |
    | name      |

  @multi
  Scenario Outline: Locating ordered lists using multiple parameters
    When I search for the ordered list by "<param1>" and "<param2>"
    And I get the first item from the list
    Then the list items text should be "Number One"

    Examples:
    | param1  | param2  |
    | class   | index   |
    | name    | index   |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 features/ordered_list.feature