Sha256: 3aec22c2dc471e0354e19698a944ce1b3da852da36f58add5698e43213c08a0c

Contents?: true

Size: 1.15 KB

Versions: 10

Compression:

Stored size: 1.15 KB

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     |

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

  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

10 entries across 10 versions & 1 rubygems

Version Path
page-object-0.8.7 features/canvas.feature
page-object-0.8.6.1 features/canvas.feature
page-object-0.8.6 features/canvas.feature
page-object-0.8.5 features/canvas.feature
page-object-0.8.4 features/canvas.feature
page-object-0.8.3 features/canvas.feature
page-object-0.8.2 features/canvas.feature
page-object-0.8.1 features/canvas.feature
page-object-0.8 features/canvas.feature
page-object-0.7.6 features/canvas.feature