Sha256: afaddfc1887310705cfaf3f0a5af4b52483df153fff788bcc210f1d53df2c9fe

Contents?: true

Size: 969 Bytes

Versions: 5

Compression:

Stored size: 969 Bytes

Contents

Feature:  Support for the canvas element

  Background:
    Given I am on the static elements page

  Scenario: Retrieve a canvas element
    When I retrieve the canvas element
    Then I should know it exists
    And I should know it is visible

  Scenario Outline: Locating a canvas on the page
    When I search for the canvas by "<search_by>"
    Then I should know it is visible

  Examples:
    | search_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | index     |

  Scenario: Determining the width and height of the canvas
    When I retrieve the canvas element
    Then I should see that the canvas width is "200"
    And I should see that the canvas height is "100"

  Scenario Outline: Locating canvases using multiple parameters
    When I search for the canvas element by "<param1>" and "<param2>"
    Then I should know it is visible

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page-object-0.7.5.1 features/canvas.feature
page-object-0.7.5 features/canvas.feature
page-object-0.7.4 features/canvas.feature
page-object-0.7.3 features/canvas.feature
page-object-0.7.2 features/canvas.feature