Sha256: 8bb96dc589664470063a0d205e9b6122d165598587d51e15d41e7aeb2fb6f105

Contents?: true

Size: 899 Bytes

Versions: 5

Compression:

Stored size: 899 Bytes

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"

  Scenario Outline: Locating spans on the page
    When I search for the span by "<search_by>"
    Then the text should be "My alert"

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | xpath     |
    | index     |
    | name      |
    | text      |

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

  Scenarios:
    | param1 | param2 |
    | class  | index  |
    | name   | index  |

  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 & 1 rubygems

Version Path
page-object-0.6.5 features/span.feature
page-object-0.6.4 features/span.feature
page-object-0.6.3 features/span.feature
page-object-0.6.2 features/span.feature
page-object-0.6.1 features/span.feature