features/audio.feature in page-object-1.1.0 vs features/audio.feature in page-object-1.1.1
- old
+ new
@@ -1,12 +1,12 @@
Feature: Support for the audio element
Background:
- Given I am on the static elements page
+ Given I am on the audio video page
Scenario: finding an audio element
- When I retrieve the audio element
+ When I retrieve the audio element from the page
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>"
@@ -29,40 +29,36 @@
| param1 | param2 |
| class | index |
| name | index |
Scenario: Should know if it is autoplay
- When I retrieve the audio element
+ When I retrieve the audio element from the page
Then I should know the audio is not autoplay
Scenario: Should know if the controls are displayed
- When I retrieve the audio element
+ When I retrieve the audio element from the page
Then I should know that the controls are displayed
Scenario: Should know if it is paused
- When I retrieve the audio element
+ When I retrieve the audio element from the page
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
+ When I retrieve the audio element from the page
Then I should know that its volume is 1
Scenario: Should know if it has ended
- When I retrieve the audio element
+ When I retrieve the audio element from the page
Then I should know that it has not ended
Scenario: Should know if it is seeking
- When I retrieve the audio element
+ When I retrieve the audio element from the page
Then I should know that it is not seeking
Scenario: Should know if it is in a loop
- When I retrieve the audio element
+ When I retrieve the audio element from the page
Then I should know that it is not in a loop
Scenario: Should know if it is muted
- When I retrieve the audio element
+ When I retrieve the audio element from the page
Then I should know that it is muted