[Tests-Only] Add webUI tests for preview of image files with media viewer#4570
[Tests-Only] Add webUI tests for preview of image files with media viewer#4570jasson99 merged 1 commit intoowncloud:masterfrom
Conversation
| Scenario: preview of png file with media viewer is possible | ||
| Given user "user1" has uploaded file "testavatar.png" to "testavatar.png" | ||
| And user "user1" has logged in using the webUI | ||
| When the user views the file "testavatar.png" in the media viewer using the webUI | ||
| Then the file "testavatar.png" should be displayed in the media viewer webUI | ||
|
|
||
| Scenario: preview of jpeg with media viewer is possible | ||
| Given user "user1" has uploaded file "testavatar.jpeg" to "testavatar.jpeg" | ||
| And user "user1" has logged in using the webUI | ||
| When the user views the file "testavatar.jpeg" in the media viewer using the webUI | ||
| Then the file "testavatar.jpeg" should be displayed in the media viewer webUI |
There was a problem hiding this comment.
You can use data table in the first scenario of this file. @Talank please assist her
There was a problem hiding this comment.
Also please remove tests/acceptance/filesForUpload/testavatar.jpeg from git
There was a problem hiding this comment.
I think including both of these scenarios in a single scenario outline will be nice.
9e0275a to
1acfe40
Compare
individual-it
left a comment
There was a problem hiding this comment.
LGTM
please squash the commits
f78755d to
3276cf5
Compare
|
@individual-it I think we don't have |
|
@SwikritiT you can ether:
but actually you should not need to upload files at all. You automatically should have all files in the test-user context from https://github.com/owncloud/testing/tree/master/data/webUISkeleton |
seems like there no file with |
01aabf2 to
2ae38aa
Compare
2ae38aa to
6e3940f
Compare
d9e5cef to
1c4e77b
Compare
1c4e77b to
7bdd6fe
Compare
Description
Add webUI tests for preview of jpeg and png file with media viewer
Related Issue
-Fixes #4296
How Has This Been Tested?
🤖
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: