Sha256: c252a611506bd70bfb6effcc1e13a162667e9ff4d12fabfc96409465c109b8d9

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

Feature: Headings

  Background:
    Given I am on the static elements page

  Scenario: Getting the text of headings
    When I get the text for the "h1" element
    Then I should see "h1's are cool"
    When I get the text for the "h2" element
    Then I should see "h2's are cool"
    When I get the text for the "h3" element
    Then I should see "h3's are cool"
#    When I get the text for the "h4" element
#    Then I should see "h4's are cool"
#    When I get the text for the "h5" element
#    Then I should see "h5's are cool"
#    When I get the text for the "h6" element
#    Then I should see "h6's are cool"

  Scenario Outline: Locating h1s on the Page
    When I search for the heading1 by "<search_by>"
    Then I should see "h1's are cool"

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

  Scenario Outline: Locating h2s on the Page
    When I search for the heading2 by "<search_by>"
    Then I should see "h2's are cool"

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

  Scenario Outline: Locating h3s on the Page
    When I search for the heading3 by "<search_by>"
    Then I should see "h3's are cool"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.3.2 features/headings.feature