Skip to content

Commit

Permalink
[tests-only]add tests for sharee editing files/folder
Browse files Browse the repository at this point in the history
  • Loading branch information
swoichha committed Dec 14, 2021
1 parent bfbd1e0 commit acfb841
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/gui/tst_sharing/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ Feature: Sharing
And as "Alice" the file "textfile.txt" on the server should have the content "overwrite ownCloud test text file"


Scenario: sharee deletes a file shared by sharer
Given user "Alice" has uploaded file with content "ownCloud test text file 0" to "textfile.txt" on the server
And user "Brian" has been created on the server with default attributes and without skeleton files
And user "Alice" has shared file "textfile.txt" on the server with user "Brian" with "all" permissions
And user "Brian" has set up a client with default settings
When the user deletes the file "textfile.txt"
And the user waits for the files to sync
Then as "Brian" file "textfile0.txt" on the server should not exist
And as "Alice" file "textfile0.txt" on the server should not exist


Scenario: unshare a shared file
Given user "Brian" has been created on the server with default attributes and without skeleton files
And user "Alice" has uploaded file with content "ownCloud test text file 0" to "textfile0.txt" on the server
Expand Down

0 comments on commit acfb841

Please sign in to comment.