Sha256: 846c1406e899536af0267297082cd426dc56430e04d23d9665000d9522cd7555

Contents?: true

Size: 1.28 KB

Versions: 7

Compression:

Stored size: 1.28 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       |
    | css       |

  @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

  Scenario: Check an image loaded
    When I get the image element load status
    Then I should see that the image loaded

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/image.feature
druid-ts-1.2.6 features/image.feature
druid-ts-1.2.5 features/image.feature
druid-ts-1.2.4 features/image.feature
druid-ts-1.2.3 features/image.feature
druid-ts-1.2.2 features/image.feature
druid-ts-1.2.1 features/image.feature