Sha256: 79e441bec2ddf16c32247a54619507459e4c327079c2ed057db939e37b6c0287

Contents?: true

Size: 838 Bytes

Versions: 3

Compression:

Stored size: 838 Bytes

Contents

Feature: Image

  Background:
    Given I am on the static elements page
  
  Scenario: Getting the image element
    When I get the image element
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

  Scenario Outline: Locating an image on the page
    When I get the image element by "<search_by>"
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

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

    @watir_only
    Scenario Outline: Locating an image on the page with Watir
      When I get the image element by "<search_by>"
      Then the image should be "106" pixels wide
      And the image should be "106" pixels tall

    Scenarios:
      | search_by |
      | index     |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.0.5 features/image.feature
page-object-0.0.4 features/image.feature
page-object-0.0.3 features/image.feature