Sha256: c14ef72eabe07387d869945f43767c95935e3036a75ec23ed88178f5088b4515

Contents?: true

Size: 935 Bytes

Versions: 28

Compression:

Stored size: 935 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     |
    | css       |

  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

28 entries across 28 versions & 4 rubygems

Version Path
page-object-1.2.0 features/span.feature
page-object-1.1.1 features/span.feature
page_object-1.1.3 features/span.feature
page_object-1.1.2 features/span.feature
page_object-1.1.1 features/span.feature
page-object-1.1.0 features/span.feature
page-object-lds-0.0.14 features/span.feature
page-object-lds-0.0.13 features/span.feature
page-object-lds-0.0.12 features/span.feature
page-object-lds-0.0.11 features/span.feature
page-object-lds-0.0.1 features/span.feature
page-object-1.0.3 features/span.feature
meeane-page-object-0.1.11 features/span.feature
page-object-1.0.2 features/span.feature
page-object-1.0.1 features/span.feature
page-object-1.0 features/span.feature
page-object-0.9.8 features/span.feature
page-object-0.9.7 features/span.feature
page-object-0.9.6 features/span.feature
page-object-0.9.5 features/span.feature