Sha256: 2ff1522dfd4d27477e25108cb4799a3cce661246f0a2803e19ba8a7944c9afd7

Contents?: true

Size: 857 Bytes

Versions: 16

Compression:

Stored size: 857 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 the text should be "My alert"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
page-object-0.6 features/span.feature
page-object-0.5.5 features/span.feature
page-object-0.5.4 features/span.feature
page-object-0.5.3 features/span.feature
page-object-0.5.2 features/span.feature
page-object-0.5.1 features/span.feature
page-object-0.5.0 features/span.feature
page-object-0.4.4 features/span.feature
page-object-0.4.3 features/span.feature
page-object-0.4.2 features/span.feature
page-object-0.4.1 features/span.feature
page-object-0.4.0 features/span.feature
page-object-0.3.2 features/span.feature
page-object-0.3.1 features/span.feature
page-object-0.3.0 features/span.feature
page-object-0.2.5 features/span.feature