Sha256: 5e50bbde5cfb2e2de0b3c2b55d99f833062830b8e82b0ff893c0a95db62e3b7e

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 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 item's text should be "Item One"

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

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

  @multi
  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"

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

  @locator
  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"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
druid-ts-1.1.5 features/unordered_list.feature
druid-ts-1.1.4 features/unordered_list.feature
druid-ts-1.1.3 features/unordered_list.feature
druid-ts-1.1.2 features/unordered_list.feature