Skip to content

Commit

Permalink
Rebase & make acceptance test rely on web ui actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter authored and kulmann committed Mar 24, 2022
1 parent a1580ae commit a64eb8b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ Feature: restrict resharing
And user "Brian" has created folder "simple-folder" in the server
And user "Brian" has uploaded file "lorem.txt" to "simple-folder/lorem.txt" in the server
And user "Brian" has shared folder "simple-folder" with user "Alice" in the server
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
And user "Alice" has favorited element "/Shares/simple-folder" in the server
When user "Alice" logs in using the webUI
And the user has browsed to the shared-with-me page
And the user accepts share "simple-folder" offered by user "Brian Murphy" using the webUI
And the user browses to the files page
And the user opens folder "Shares" using the webUI
When the user marks file "simple-folder" as favorite using the webUI
Then the user should not be able to share folder "simple-folder" using the webUI
When the user browses to the shared-with-me page
# Then the user should not be able to share folder "simple-folder (2)" using the webUI
And the user shares folder "simple-folder" with user "Carol King" as "Editor" using the webUI
Then the error message with header "Error while sharing." should be displayed on the webUI
And as "Carol" folder "simple-folder" should not exist in the server
When the user browses to the favorites page
Then the user should not be able to share folder "Shares/simple-folder" using the webUI



@smokeTest
Scenario: disable resharing and check if the received resource from group share can be reshared
Given the setting "shareapi_allow_resharing" of app "core" has been set to "no" in the server
Expand Down

0 comments on commit a64eb8b

Please sign in to comment.