Sha256: fdf00474169ca821794461dc4db98af67a9b985b53ad495ba47782982d0bca85

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

Feature: Span

  Background:
    Given I am on the static elements page

  Scenario: Getting the text from a span
    When I get the text from the span
    Then the text should be "My alert"

  @name
  Scenario Outline: Locating spans on the page
    When I locate the span by "<locate_by>"
    Then the text should be "My alert"

    Examples:
    | locate_by |
    | id        |
    | class     |
    | xpath     |
    | index     |
    | name      |
    | text      |
  Scenario: Retrieve a Span
    When I retrieve a span element
    Then I should know it exists
    And I should know it is visible

  @multi
  Scenario Outline: Locating span using multiple parameters
    When I search for the span by "<param1>" and "<param2>"
    Then the text should be "My alert"

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

  @locator
  Scenario: Finding a span dynamically
    When I get the text from a span while the script is executing
    Then I should see that the span exists
    And the text should be "My alert"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.1.3 features/span.feature
druid-ts-1.1.2 features/span.feature