Sha256: 56711abefee45bab7a938b8f7a03cf87459e51fb638d73cc6ca6f3fe0d0051a4

Contents?: true

Size: 1.91 KB

Versions: 26

Compression:

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

  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

  Scenario: Should know if it has ended
    When I retrieve the audio element
    Then I should know that it has not ended

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

  Scenario: Should know if it is in a loop
    When I retrieve the audio element
    Then I should know that it is not in a loop

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

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
page_object-1.1.3 features/audio.feature
page_object-1.1.2 features/audio.feature
page_object-1.1.1 features/audio.feature
page-object-1.1.0 features/audio.feature
page-object-lds-0.0.14 features/audio.feature
page-object-lds-0.0.13 features/audio.feature
page-object-lds-0.0.12 features/audio.feature
page-object-lds-0.0.11 features/audio.feature
page-object-lds-0.0.1 features/audio.feature
page-object-1.0.3 features/audio.feature
meeane-page-object-0.1.11 features/audio.feature
page-object-1.0.2 features/audio.feature
page-object-1.0.1 features/audio.feature
page-object-1.0 features/audio.feature
page-object-0.9.8 features/audio.feature
page-object-0.9.7 features/audio.feature
page-object-0.9.6 features/audio.feature
page-object-0.9.5 features/audio.feature
page-object-0.9.4 features/audio.feature
page-object-0.9.3 features/audio.feature