Sha256: baf6ac3c837428876f3634f6ff0fa8491b99c29b87ae9d9ebc0f440e0fa172b7

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 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      |
    | 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

2 entries across 2 versions & 1 rubygems

Version Path
meeane-page-object-0.1.10 features/paragraph.feature
meeane-page-object-0.1.8 features/paragraph.feature