Skip to content

Commit

Permalink
add correct issue to failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SwikritiT authored and phil-davis committed Jan 24, 2022
1 parent 9ef57d0 commit 30403c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,5 +517,5 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUISharingAcceptShares/acceptShares.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L72)
- [webUIOperationsWithFolderShares/accessToSharesFolder.feature:14](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIOperationsWithFolderShares/accessToSharesFolder.feature#L14)

### [features/webUIPreview/imageMediaViewer.feature:57 is failing in CI and needs investigation](https://github.com/owncloud/web/issues/6275)
### [Image that is uploaded first, if opened first the picture is not displayed in the image media viewer](https://github.com/owncloud/web/issues/6289)
- [webUIPreview/imageMediaViewer.feature:57](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L57)
5 changes: 3 additions & 2 deletions tests/acceptance/stepDefinitions/previewContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Given(

When(
'the user/public views the file {string} in the media viewer using the webUI',
function (fileName) {
return mediaViewerPage.openMediaViewer(fileName)
async function (fileName) {
await mediaViewerPage.openMediaViewer(fileName)
return mediaViewerPage.waitForMediaViewerLoaded(fileName)
}
)

Expand Down

0 comments on commit 30403c7

Please sign in to comment.