Skip to content

Commit

Permalink
[tests-only] Removed scenario related to folder upload from old web U…
Browse files Browse the repository at this point in the history
…I test (#10480)

* removed scenario related to upload folder in link share from web UI test

* added a step for folder upload in link share
  • Loading branch information
PrajwolAmatya authored and saw-jan committed Mar 5, 2024
1 parent bf0c1f7 commit c60ad66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ Other free text and markdown formatting can be used elsewhere in the document if

- [webUISharingPublicManagement/shareByPublicLink.feature:24](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicManagement/shareByPublicLink.feature#L24)

### [Uploading folders does not work in files-drop](https://github.com/owncloud/web/issues/2443)

- [webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature:263](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature#L263)

### [Resources cannot be locked under ocis](https://github.com/owncloud/ocis/issues/1284)

- [webUIWebdavLockProtection/delete.feature:33](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIWebdavLockProtection/delete.feature#L33)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,6 @@ Feature: Share by public link with different roles
And as "Alice" the content of "simple-folder/'single'quotes.txt" in the server should be the same as the content of local file "'single'quotes.txt"
And as "Alice" the content of "simple-folder/new-lorem.txt" in the server should be the same as the content of local file "new-lorem.txt"

@issue-2443
Scenario: creating a public link with "Uploader" role makes it possible to upload a folder
Given user "Alice" has shared folder "simple-folder" with link with "create" permissions in the server
When the public uses the webUI to access the last public link created by user "Alice" in a new session
And the public uploads folder "FOLDER" in files-drop page
Then the following files should be listed on the files-drop page:
| FOLDER |
And as "Alice" folder "simple-folder/FOLDER" should exist in the server

@issue-ocis-723
Scenario: creating a public link with "Uploader" role makes it possible to create files through files-drop page even with password set
Given user "Alice" has shared folder "simple-folder" with link with "create" permissions and password "#Passw0rd" in the server
Expand Down
8 changes: 4 additions & 4 deletions tests/e2e/cucumber/features/smoke/shares/link.feature
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ Feature: link
| lorem.txt | lorem_new.txt |
| textfile.txt | textfile_new.txt |
| new-lorem.txt | test.txt |
# currently upload folder feature is not available in playwright
# And "Anonymous" uploads the following resources in public link page
# | resource |
# | filesForUpload/PARENT |
# currently upload folder feature is not available in playwright
# And "Anonymous" uploads the following resources in public link page
# | resource |
# | filesForUpload/PARENT |
And "Alice" removes the public link named "myPublicLink" of resource "folderPublic"
And "Anonymous" should not be able to open the old link "myPublicLink"
And "Alice" logs out
Expand Down

0 comments on commit c60ad66

Please sign in to comment.