diff --git a/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md b/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md index 993b279867b..8c8bc3254f8 100644 --- a/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md +++ b/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md @@ -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) diff --git a/tests/acceptance/features/webUIPreview/imageMediaViewer.feature b/tests/acceptance/features/webUIPreview/imageMediaViewer.feature index a425adb9e47..8238106fb83 100644 --- a/tests/acceptance/features/webUIPreview/imageMediaViewer.feature +++ b/tests/acceptance/features/webUIPreview/imageMediaViewer.feature @@ -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 + \ No newline at end of file