Skip to content

Commit

Permalink
fix after review
Browse files Browse the repository at this point in the history
add steps folder Shares

fix expected failure
  • Loading branch information
ScharfViktor committed Nov 22, 2021
1 parent c4f1467 commit a6976ef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUISharingPermissionToRoot/shareFileWithMultipleUsers.feature:66](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPermissionToRoot/shareFileWithMultipleUsers.feature#L66)

### [downloading an old version of a file returns 501](https://github.com/owncloud/ocis/issues/2261)
- [webUIFilesActionMenu/versions.feature:104](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L104)
- [webUIFilesActionMenu/versions.feature:94](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L94)
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIFilesActionMenu/versions.feature:63](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L63)

### [downloading an old version of a file returns 501](https://github.com/owncloud/ocis/issues/2261)
- [webUIFilesActionMenu/versions.feature:104](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L104)
- [webUIFilesActionMenu/versions.feature:94](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L94)

### [No occ command in ocis](https://github.com/owncloud/ocis/issues/1317)
- [webUIRestrictSharing/restrictReSharing.feature:23](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictReSharing.feature#L23)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Feature: Versions of a file
@issue-ocis-2319
Scenario: change the file content of a received shared file
Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no"
And the administrator has set the default folder for received shares to "Shares"
And user "Brian" has been created with default attributes and without skeleton files
And user "Brian" has created folder "simple-folder"
And user "Brian" has created file "simple-folder/lorem.txt"
Expand All @@ -95,5 +96,5 @@ Feature: Versions of a file
And user "Alice" has uploaded file with content "lorem content" to "lorem.txt"
And user "Alice" has logged in using the webUI
And the user browses to display the "versions" details of file "lorem.txt"
When the user downloads a file of a previous version using the webUI
When the user downloads a previous version of the file using the webUI
Then as "Alice" the content of "lorem.txt" should be the same as the content of local file "lorem.txt"
2 changes: 1 addition & 1 deletion tests/acceptance/stepDefinitions/filesContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ Then(
}
)

When('the user downloads a file of a previous version using the webUI', function () {
When('the user downloads a previous version of the file using the webUI', function () {
return client.page.FilesPageElement.versionsDialog().downloadFilePreviousVersion()
})

Expand Down

0 comments on commit a6976ef

Please sign in to comment.