Sha256: edc6ce1647d518c6010714d3bf7770f74ec5f56815dff0d47cfa43394f3311cf

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 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 "<locate_by>"
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

    Examples:
    | locate_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | index     |
    | alt       |
    | src       |

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

    Examples:
    | param1  | param2  |
    | class   | index   |
    | name    | index   |

  @locator
  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

6 entries across 6 versions & 1 rubygems

Version Path
druid-ts-1.1.7 features/image.feature
druid-ts-1.1.6 features/image.feature
druid-ts-1.1.5 features/image.feature
druid-ts-1.1.4 features/image.feature
druid-ts-1.1.3 features/image.feature
druid-ts-1.1.2 features/image.feature