Sha256: 52e991446873da9c3c6fe852d8665307480b1bba872736905f22f13d2d36d66e

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 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     |
    | text      |
    | title     |
    | css       |

  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   |

  @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

5 entries across 5 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/span.feature
druid-ts-1.2.6 features/span.feature
druid-ts-1.2.5 features/span.feature
druid-ts-1.2.4 features/span.feature
druid-ts-1.2.3 features/span.feature