Sha256: 7fd5dff7fd3d872bbbcaa824631feff232cfd04df01b4441913539c2f075f095

Contents?: true

Size: 1.09 KB

Versions: 10

Compression:

Stored size: 1.09 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"

  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     |

  @selenium_only
  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 |
    | 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

10 entries across 10 versions & 1 rubygems

Version Path
page-object-0.8.7 features/span.feature
page-object-0.8.6.1 features/span.feature
page-object-0.8.6 features/span.feature
page-object-0.8.5 features/span.feature
page-object-0.8.4 features/span.feature
page-object-0.8.3 features/span.feature
page-object-0.8.2 features/span.feature
page-object-0.8.1 features/span.feature
page-object-0.8 features/span.feature
page-object-0.7.6 features/span.feature