Skip to content

Commit

Permalink
Bump the ocis commit id and update expected to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
SwikritiT authored and phil-davis committed Jan 25, 2022
1 parent d6601fe commit d372ffa
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=e31d986e1a86b58e5cad7e43166a98f858a9ebe4
OCIS_COMMITID=e57008f6c3e24f67f8f9815c96e43759726a6fbd
OCIS_BRANCH=master
1 change: 1 addition & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ config = {
"runningOnOCIS": True,
"visualTesting": False,
"filterTags": "not @skip and not @skipOnOCIS and not @notToImplementOnOCIS",
"screenShots": True,
},
"webUI-notifications-oc10-integration": {
"type": NOTIFICATIONS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIFilesDetails/fileDetails.feature:153](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesDetails/fileDetails.feature#L153)

### [Tags page not implemented yet](https://github.com/owncloud/web/issues/5017)
- [webUIDeleteFilesFolders/deleteFilesFolders.feature:131](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIDeleteFilesFolders/deleteFilesFolders.feature#L131)
- [webUIDeleteFilesFolders/deleteFilesFolders.feature:136](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIDeleteFilesFolders/deleteFilesFolders.feature#L136)
- [webUIFilesSearch/search.feature:63](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesSearch/search.feature#L63)
- [webUIFilesSearch/search.feature:71](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesSearch/search.feature#L71)
- [webUIFilesSearch/search.feature:84](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesSearch/search.feature#L84)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIRestrictSharing/restrictSharing.feature:56](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L56)

### [First request with a recreated user returns a 401 error](https://github.com/owncloud/ocis/issues/1675)
- [webUISharingAutocompletion/shareAutocompletion.feature:56](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L56)
- [webUISharingAutocompletion/shareAutocompletion.feature:66](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L66)
- [webUISharingAutocompletion/shareAutocompletion.feature:128](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L128)
- [webUISharingAutocompletion/shareAutocompletion.feature:141](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L141)

Expand Down Expand Up @@ -200,7 +198,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIFilesActionMenu/versions.feature:94](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L94)

### [Accepting different shares with same filename from different users overwrites one file](https://github.com/owncloud/ocis/issues/713)
- [webUISharingAcceptShares/acceptShares.feature:212](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L212)
- [webUISharingAcceptShares/acceptShares.feature:228](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L228)

### [Deletion of a selected user/group as a collaborator has unusual behavior in UI](https://github.com/owncloud/web/issues/5857)
- [webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:63](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature#L63)
Expand Down Expand Up @@ -375,7 +373,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUITrashbinDelete/trashbinDelete.feature:48](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUITrashbinDelete/trashbinDelete.feature#L48)

### [Tags page not implemented yet](https://github.com/owncloud/web/issues/5017)
- [webUIDeleteFilesFolders/deleteFilesFolders.feature:131](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIDeleteFilesFolders/deleteFilesFolders.feature#L131)
- [webUIDeleteFilesFolders/deleteFilesFolders.feature:136](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIDeleteFilesFolders/deleteFilesFolders.feature#L136)
- [webUIFilesSearch/search.feature:63](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesSearch/search.feature#L63)
- [webUIFilesSearch/search.feature:71](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesSearch/search.feature#L71)
- [webUIFilesSearch/search.feature:84](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesSearch/search.feature#L84)
Expand Down Expand Up @@ -500,12 +498,18 @@ Other free text and markdown formatting can be used elsewhere in the document if

### [[oCIS] Received share cannot be deleted/unshared if not shared with full permissions](https://github.com/owncloud/web/issues/5531)
- [webUISharingAcceptShares/acceptShares.feature:50](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L50)
- [webUISharingAcceptShares/acceptShares.feature:146](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L146)
- [webUISharingAcceptShares/acceptShares.feature:185](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L185)
- [webUISharingAcceptShares/acceptShares.feature:162](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L162)
- [webUISharingAcceptShares/acceptShares.feature:201](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L201)

### [not possible to overwrite a received shared file](https://github.com/owncloud/ocis/issues/2267)
- [webUISharingInternalGroups/shareWithGroups.feature:77](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L77)
- [webUISharingInternalUsers/shareWithUsers.feature:57](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L57)

### [shares are not listed with full paths](https://github.com/owncloud/ocis/issues/2462)
- [webUISharingPublicBasic/publicLinkCreate.feature:88](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkCreate.feature#L88)

### [web config update is not properly reflected after the ocis start](https://github.com/owncloud/ocis/issues/2944)
- [webUIFiles/breadcrumb.feature:50](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFiles/breadcrumb.feature#L50)

### [Selecting delete all](https://github.com/owncloud/web/issues/6305)
- [webUIDeleteFilesFolders/deleteFilesFolders.feature:77](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIDeleteFilesFolders/deleteFilesFolders.feature#L77)
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,27 @@ Feature: deleting files and folders
Scenario: Delete all except for a few files at once
Given user "Alice" has uploaded file "data.zip" to "data.zip" in the server
And user "Alice" has created file "lorem.txt" in the server
And user "Alice" has created file "fileToDelete.txt" in the server
And user "Alice" has created folder "folderToDelete" in the server
And user "Alice" has created folder "simple-folder" in the server
And the user has reloaded the current page of the webUI
When the user marks all files for batch action using the webUI
And the user unmarks these files for batch action using the webUI
| name |
| lorem.txt |
| simple-folder |
| Shares |
And the user batch deletes the marked files using the webUI
Then as "Alice" file "lorem.txt" should exist in the server
And as "Alice" folder "simple-folder" should exist in the server
And folder "simple-folder" should be listed on the webUI
And folder "Shares" should be listed on the webUI
And file "lorem.txt" should be listed on the webUI
# Check just an example of a file that should not exist any more
But as "Alice" file "data.zip" should not exist in the server
And as "Alice" file "fileToDelete.txt" should not exist in the server
And as "Alice" folder "folderToDelete" should not exist in the server
And file "data.zip" should not be listed on the webUI
And the count of files and folders shown on the webUI should be 2
And the count of files and folders shown on the webUI should be 4
And no message should be displayed on the webUI

@ocis-reva-issue-106
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,19 @@ Feature: Upload into a folder Shares
And user "Alice" has been created with default attributes and without skeleton files in the server
And user "Brian" has been created with default attributes and without skeleton files in the server

@issue-ocis-2322
@issue-ocis-2322 @notToImplementOnOCIS
Scenario: the Shares folder does not exist if no share has been accepted
Given user "Brian" has created file "lorem.txt" in the server
And user "Brian" has shared file "lorem.txt" with user "Alice" with "all" permissions in the server
When user "Alice" logs in using the webUI
Then folder "Shares" should not be listed on the webUI

@issue-ocis-2322
@issue-ocis-2322 @notToImplementOnOC10
Scenario: the Shares folder should be listed even without any share
When user "Alice" logs in using the webUI
Then folder "Shares" should be listed on the webUI


Scenario: the Shares folder exists after accepting the first shared file
Given user "Brian" has created file "lorem.txt" in the server
And user "Brian" has shared file "lorem.txt" with user "Alice" with "all" permissions in the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,33 @@ Feature: accept/decline shares coming from internal users
Then folder "simple-folder" shared by "Alice Hansen" should be in "Declined" state on the webUI
And file "testimage.jpg" shared by "Alice Hansen" should be in "Declined" state on the webUI


Scenario: User receives files when auto accept share is disabled
@skipOnOCIS
Scenario: User receives files when auto accept share is disabled - oC10 behavior
Given user "Alice" has created file "toshare.txt" in the server
And user "Alice" has uploaded file with content "test" to "toshare.txt" in the server
And user "Alice" has shared file "toshare.txt" with user "Brian" in the server
When the user browses to the shared-with-me page
Then file "toshare.txt" shared by "Alice Hansen" should be in "Pending" state on the webUI
When the user browses to the files page
Then file "toshare.txt" should not be listed on the webUI
# On oC10, the Shares folder only appears after there is a received shared
# resource. So it should not exist at this point.
And folder "Shares" should not be listed on the webUI

@skipOnOC10
Scenario: User receives files when auto accept share is disabled - oCIS behavior
Given user "Alice" has created file "toshare.txt" in the server
And user "Alice" has uploaded file with content "test" to "toshare.txt" in the server
And user "Alice" has shared file "toshare.txt" with user "Brian" in the server
When the user browses to the shared-with-me page
Then file "toshare.txt" shared by "Alice Hansen" should be in "Pending" state on the webUI
When the user browses to the files page
Then file "toshare.txt" should not be listed on the webUI
# The Shares folder always exists on oCIS, check inside it to see that the
# received shared file is not listed, because the share is pending.
When the user opens folder "Shares" using the webUI
Then file "toshare.txt" should not be listed on the webUI


Scenario: receive shares with same name from different users
Given user "Carol" has been created with default attributes and without skeleton files in the server
Expand Down
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 d372ffa

Please sign in to comment.