Skip to content

Commit

Permalink
add test open jpeg file in shared with me page
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed Aug 12, 2021
1 parent 547612b commit 2ea20fa
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIPreview/imageMediaViewer.feature:141](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L141)
- [webUIPreview/imageMediaViewer.feature:159](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L159)

### [Endless loading when opening a file in section "Shared with me" or "Shared with other"](https://github.com/owncloud/web/issues/5324)
- [webUIPreview/imageMediaViewer.feature:141](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L181)
- [webUIPreview/imageMediaViewer.feature:159](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L189)

### [Exit page re-appears in loop when logged in user is deleted](https://github.com/owncloud/web/issues/4677)
- [webUILogin/openidLogin.feature:51](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/openidLogin.feature#L51)
Expand Down
18 changes: 18 additions & 0 deletions tests/acceptance/features/webUIPreview/imageMediaViewer.feature
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,21 @@ Scenario Outline: preview of image files with media viewer is possible
| testavatar.jpg | testavatar.JPG |
| testavatar.png | testavatar.PNG |
| testavatar.jpeg | testavatar.JPEG |

Scenario: Open jpeg file with media viewer in shared-with-others page
Given user "Brian" has uploaded file "testavatar.jpeg" to "testavatar.jpeg"
And user "Brian" has shared file "testavatar.jpeg" with user "Alice" with "all" permissions
And user "Brian" has logged in using the webUI
And the user browses to the shared-with-others page
When the user views the file "testavatar.jpeg" in the media viewer by clicking on the file name using the webUI
Then the file "testavatar.jpeg" should be displayed in the media viewer webUI

Scenario: Open jpeg file with media viewer in shared-with-me page
Given user "Brian" has uploaded file "testavatar.jpeg" to "testavatar.jpeg"
And user "Brian" has shared file "testavatar.jpeg" with user "Alice" with "all" permissions
And user "Alice" has accepted the share "testavatar.jpeg" offered by user "Brian"
And user "Alice" has logged in using the webUI
And the user browses to the shared-with-me page using the webUI
When the user views the file "testavatar.jpeg" in the media viewer by clicking on the file name using the webUI
Then the file "testavatar.jpeg" should be displayed in the media viewer webUI

0 comments on commit 2ea20fa

Please sign in to comment.