Sha256: 7bbdce22311d68ff230a14c07ce396cbd96447a0a69857709a7f6b2c89d3c5e3

Contents?: true

Size: 917 Bytes

Versions: 11

Compression:

Stored size: 917 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      |
    | title     |

  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

11 entries across 11 versions & 1 rubygems

Version Path
page-object-0.7.5.1 features/span.feature
page-object-0.7.5 features/span.feature
page-object-0.7.4 features/span.feature
page-object-0.7.3 features/span.feature
page-object-0.7.2 features/span.feature
page-object-0.7.1 features/span.feature
page-object-0.7.0 features/span.feature
page-object-0.6.9 features/span.feature
page-object-0.6.8 features/span.feature
page-object-0.6.7 features/span.feature
page-object-0.6.6 features/span.feature