Refactoring example table scenerio (#6697)
This commit is contained in:
@@ -10,7 +10,7 @@ Feature: using trashbin together with sharing
|
||||
|
||||
@smokeTest
|
||||
Scenario Outline: deleting a received folder doesn't move it to trashbin
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
@@ -21,17 +21,17 @@ Feature: using trashbin together with sharing
|
||||
Then the HTTP status code should be "204"
|
||||
And as "Brian" the folder with original path "/Shares/renamed_shared" should not exist in the trashbin
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: deleting a file in a received folder moves it to trashbin of both users
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
@@ -43,17 +43,17 @@ Feature: using trashbin together with sharing
|
||||
And as "Brian" the file with original path "/Shares/renamed_shared/shared_file.txt" should exist in the trashbin
|
||||
And as "Alice" the file with original path "/shared/shared_file.txt" should exist in the trashbin
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: sharee deleting a file in a group-shared folder moves it to the trashbin of sharee and sharer only
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Carol" has been created with default attributes and without skeleton files
|
||||
And group "grp1" has been created
|
||||
@@ -70,17 +70,17 @@ Feature: using trashbin together with sharing
|
||||
And as "Alice" the file with original path "/shared/shared_file.txt" should exist in the trashbin
|
||||
And as "Carol" the file with original path "/Shares/shared/shared_file.txt" should not exist in the trashbin
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: sharer deleting a file in a group-shared folder moves it to the trashbin of sharer only
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Carol" has been created with default attributes and without skeleton files
|
||||
And group "grp1" has been created
|
||||
@@ -97,17 +97,17 @@ Feature: using trashbin together with sharing
|
||||
And as "Brian" the file with original path "/Shares/shared/shared_file.txt" should not exist in the trashbin
|
||||
And as "Carol" the file with original path "/Shares/shared/shared_file.txt" should not exist in the trashbin
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: sharee deleting a folder in a group-shared folder moves it to the trashbin of sharee and sharer only
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Carol" has been created with default attributes and without skeleton files
|
||||
And group "grp1" has been created
|
||||
@@ -125,17 +125,17 @@ Feature: using trashbin together with sharing
|
||||
And as "Alice" the file with original path "/shared/sub/shared_file.txt" should exist in the trashbin
|
||||
And as "Carol" the file with original path "/Shares/sub/shared/shared_file.txt" should not exist in the trashbin
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: sharer deleting a folder in a group-shared folder moves it to the trashbin of sharer only
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Carol" has been created with default attributes and without skeleton files
|
||||
And group "grp1" has been created
|
||||
@@ -153,17 +153,17 @@ Feature: using trashbin together with sharing
|
||||
And as "Brian" the file with original path "/Shares/shared/sub/shared_file.txt" should not exist in the trashbin
|
||||
And as "Carol" the file with original path "/Shares/shared/sub/shared_file.txt" should not exist in the trashbin
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: deleting a file in a received folder when restored it comes back to the original path
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
@@ -181,17 +181,17 @@ Feature: using trashbin together with sharing
|
||||
| /Shares/renamed_shared/shared_file.txt |
|
||||
And the content of file "/Shares/renamed_shared/shared_file.txt" for user "Brian" should be "file to delete"
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: restoring a file to a read-only folder
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Brian" has created folder "shareFolderParent"
|
||||
And user "Brian" has shared folder "shareFolderParent" with user "Alice" with permissions "read"
|
||||
@@ -204,17 +204,17 @@ Feature: using trashbin together with sharing
|
||||
And as "Alice" file "/Shares/shareFolderParent/textfile0.txt" should not exist
|
||||
And as "Brian" file "/shareFolderParent/textfile0.txt" should not exist
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: restoring a file to a read-only sub-folder
|
||||
Given using <dav-path> DAV path
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Brian" has created folder "shareFolderParent"
|
||||
And user "Brian" has created folder "shareFolderParent/shareFolderChild"
|
||||
@@ -228,10 +228,10 @@ Feature: using trashbin together with sharing
|
||||
And as "Alice" file "/Shares/shareFolderParent/shareFolderChild/textfile0.txt" should not exist
|
||||
And as "Brian" file "/shareFolderParent/shareFolderChild/textfile0.txt" should not exist
|
||||
Examples:
|
||||
| dav-path |
|
||||
| new |
|
||||
| dav-path-version |
|
||||
| new |
|
||||
|
||||
@skipOnRevaMaster
|
||||
Examples:
|
||||
| dav-path |
|
||||
| spaces |
|
||||
| dav-path-version |
|
||||
| spaces |
|
||||
|
||||
Reference in New Issue
Block a user