Sha256: 196e1658d576694c0a7e82c1e2fa5d434d00eb673112a038c95bd36e4474047e

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

Feature:  Support for the audio element

  Background:
    Given I am on the static elements page

  Scenario: finding an audio element
    When I retrieve the audio element
    Then I should know it exists
    And I should know it is visible

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

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

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

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

  Scenario: Should know if it is autoplay
    When I retrieve the audio element
    Then I should know the audio is not autoplay
    
  Scenario: Should know if the controls are displayed
    When I retrieve the audio element
    Then I should know that the controls are displayed

  Scenario: Should know if it is paused
    When I retrieve the audio element
    Then I should know that the audio is paused

  Scenario: Should know its duration
    When I retrieve the audio element
    Then I should know that the duration is greater than 74 seconds

  Scenario: Should know its volume
    When I retrieve the audio element
    Then I should know that its volume is 1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.7.2 features/audio.feature