Sha256: b6b097f5f8344260fb8617635ff4f0905965e0675e513aba0d0c6794ff0fda02

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.2.0 features/image.feature
druid-ts-1.1.8 features/image.feature