Skip to content

Commit

Permalink
Merge pull request #5550 from owncloud/open_jpeg_file_in_shared-with-…
Browse files Browse the repository at this point in the history
…me-page

[full-ci] [tests-only] Open jpeg file in "shared with me page" or "shared with other"
  • Loading branch information
ScharfViktor authored Aug 12, 2021
2 parents 547612b + e23d26e commit d659d82
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ 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:182](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L182)
- [webUIPreview/imageMediaViewer.feature:191](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L191)

### [webUILogin/adminBlocksUser.feature:20 behaves differently on CI](https://github.com/owncloud/web/issues/4743)
- [webUILogin/adminBlocksUser.feature:20](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/adminBlocksUser.feature#L120)

Expand Down
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:182](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L182)
- [webUIPreview/imageMediaViewer.feature:191](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L191)

### [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
20 changes: 20 additions & 0 deletions tests/acceptance/features/webUIPreview/imageMediaViewer.feature
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,23 @@ Scenario Outline: preview of image files with media viewer is possible
| testavatar.jpg | testavatar.JPG |
| testavatar.png | testavatar.PNG |
| testavatar.jpeg | testavatar.JPEG |

@issue-5324
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

@issue-5324
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 d659d82

Please sign in to comment.