Sha256: 53b841d0af9a33b780d5a34dc57dea9484690dd7989790e3ac764c3948fa4f56

Contents?: true

Size: 1.37 KB

Versions: 38

Compression:

Stored size: 1.37 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     |
    | alt       |
    | src       |

  @selenium_only
  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 |
    | css       |

  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 I should see that the image exists
    And the image should be "106" pixels wide
    And the image should be "106" pixels tall

Version data entries

38 entries across 38 versions & 4 rubygems

Version Path
page-object-1.2.0 features/image.feature
page-object-1.1.1 features/image.feature
page_object-1.1.3 features/image.feature
page_object-1.1.2 features/image.feature
page_object-1.1.1 features/image.feature
page-object-1.1.0 features/image.feature
page-object-lds-0.0.14 features/image.feature
page-object-lds-0.0.13 features/image.feature
page-object-lds-0.0.12 features/image.feature
page-object-lds-0.0.11 features/image.feature
page-object-lds-0.0.1 features/image.feature
page-object-1.0.3 features/image.feature
meeane-page-object-0.1.11 features/image.feature
page-object-1.0.2 features/image.feature
page-object-1.0.1 features/image.feature
page-object-1.0 features/image.feature
page-object-0.9.8 features/image.feature
page-object-0.9.7 features/image.feature
page-object-0.9.6 features/image.feature
page-object-0.9.5 features/image.feature