Sha256: 82dd14e43779d3a72a12a862c4c82ec955066a1c78708bfcf5bae7a8dc8389a1

Contents?: true

Size: 1.03 KB

Versions: 13

Compression:

Stored size: 1.03 KB

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     |
    | index     |

  Scenario Outline: Locating an image using multiple parameters
    When I get the image element by "<param1>" and "<param2>"
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

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

  Scenario: Finding an image dynamically
    When I get the image element while the script is executing
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
page-object-0.5.3 features/image.feature
page-object-0.5.2 features/image.feature
page-object-0.5.1 features/image.feature
page-object-0.5.0 features/image.feature
page-object-0.4.4 features/image.feature
page-object-0.4.3 features/image.feature
page-object-0.4.2 features/image.feature
page-object-0.4.1 features/image.feature
page-object-0.4.0 features/image.feature
page-object-0.3.2 features/image.feature
page-object-0.3.1 features/image.feature
page-object-0.3.0 features/image.feature
page-object-0.2.5 features/image.feature