Sha256: ac9305073fcfae09bcc94c4574a16f96f975df064983e3e3adf0031cfbdf5969

Contents?: true

Size: 1.18 KB

Versions: 10

Compression:

Stored size: 1.18 KB

Contents

Feature: Paragraph

  Background:
    Given I am on the static elements page

  Scenario: Getting the text from a paragraph
    When I get the text from the paragraph
    Then the text should be "Static Elements Page"

  Scenario Outline: Locating paragraphs on the page
    When I search for the paragraph by "<search_by>"
    Then the text should be "Static Elements Page"

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

  @selenium_only
  Scenario Outline: Locating paragraphs on the page
    When I search for the paragraph by "<search_by>"
    Then the text should be "Static Elements Page"

  Scenarios:
    | search_by |
    | css       |

  Scenario Outline: Locating paragraphs using multiple parameters
    When I search for the paragraph by "<param1>" and "<param2>"
    Then the text should be "Static Elements Page"

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

  Scenario: Finding a paragraph dynamically
    When I get the text from a paragraph while the script is executing
    Then I should see that the paragraph exists
    And the text should be "Static Elements Page"

Version data entries

10 entries across 10 versions & 1 rubygems

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