-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3840 from owncloud/test-media-viewer-videos
[Tests-Only] Added media viewer tests for video
- Loading branch information
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
12 changes: 10 additions & 2 deletions
12
tests/acceptance/features/webUIPreview/imageMediaViewer.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
Feature: display image in media viewer on the webUI | ||
|
||
Scenario: preview of image with media viewer is possible | ||
Background: | ||
Given user "user1" has been created with default attributes | ||
And user "user1" has uploaded file "testavatar.jpg" to "testavatar.jpg" | ||
|
||
Scenario: preview of image with media viewer is possible | ||
Given user "user1" has uploaded file "testavatar.jpg" to "testavatar.jpg" | ||
And user "user1" has logged in using the webUI | ||
When the user views the file "testavatar.jpg" in the mediaviewer using the webUI | ||
Then the file "testavatar.jpg" should be displayed in the mediaViewer | ||
|
||
Scenario: preview of video with media viewer is possible | ||
Given user "user1" has uploaded file "test_video.mp4" to "test_video.mp4" | ||
And user "user1" has logged in using the webUI | ||
When the user views the file "test_video.mp4" in the mediaviewer using the webUI | ||
Then the file "test_video.mp4" should be displayed in the mediaViewer |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters