Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only][full-ci]Improve then steps usages inside acceptance tests suite apiShareOperationToRoot2 #39967

Merged
merged 1 commit into from
Apr 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Feature: sharing
When user "Alice" gets the following properties of file "/tmp.txt" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "19"
Then the HTTP status code should be "201"
And the single response should contain a property "ocs:share-permissions" with value "19"
Examples:
| dav-path |
| old |
Expand All @@ -28,7 +29,8 @@ Feature: sharing
When user "Brian" gets the following properties of file "/tmp.txt" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "19"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "19"
Examples:
| dav-path |
| old |
Expand All @@ -47,7 +49,8 @@ Feature: sharing
When user "Brian" gets the following properties of file "/tmp.txt" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "19"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "19"
Examples:
| dav-path |
| old |
Expand All @@ -59,7 +62,8 @@ Feature: sharing
And user "Alice" has shared file "tmp.txt" with user "Brian"
When user "Alice" updates the last share using the sharing API with
| permissions | update,read |
Then as user "Brian" file "/tmp.txt" should contain a property "ocs:share-permissions" with value "3"
Then the HTTP status code should be "200"
And as user "Brian" file "/tmp.txt" should contain a property "ocs:share-permissions" with value "3"
Examples:
| dav-path |
| old |
Expand All @@ -78,7 +82,8 @@ Feature: sharing
When user "Brian" gets the following properties of file "/tmp.txt" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "3"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "3"
Examples:
| dav-path |
| old |
Expand All @@ -90,7 +95,8 @@ Feature: sharing
And user "Alice" has shared file "tmp.txt" with user "Brian"
When user "Alice" updates the last share using the sharing API with
| permissions | share,read |
Then as user "Brian" file "/tmp.txt" should contain a property "ocs:share-permissions" with value "17"
Then the HTTP status code should be "200"
And as user "Brian" file "/tmp.txt" should contain a property "ocs:share-permissions" with value "17"
Examples:
| dav-path |
| old |
Expand All @@ -109,7 +115,8 @@ Feature: sharing
When user "Brian" gets the following properties of file "/tmp.txt" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "17"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "17"
Examples:
| dav-path |
| old |
Expand All @@ -122,7 +129,8 @@ Feature: sharing
When user "Alice" gets the following properties of folder "/" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "31"
Then the HTTP status code should be "201"
And the single response should contain a property "ocs:share-permissions" with value "31"
Examples:
| dav-path |
| old |
Expand All @@ -135,7 +143,8 @@ Feature: sharing
When user "Brian" gets the following properties of folder "/tmp" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "31"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "31"
Examples:
| dav-path |
| old |
Expand All @@ -153,7 +162,8 @@ Feature: sharing
When user "Brian" gets the following properties of folder "/tmp" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "31"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "31"
Examples:
| dav-path |
| old |
Expand All @@ -165,7 +175,8 @@ Feature: sharing
And user "Alice" has shared file "/tmp" with user "Brian"
When user "Alice" updates the last share using the sharing API with
| permissions | share,delete,create,read |
Then as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "29"
Then the HTTP status code should be "200"
And as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "29"
Examples:
| dav-path |
| old |
Expand All @@ -184,7 +195,8 @@ Feature: sharing
When user "Brian" gets the following properties of folder "/tmp" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "29"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "29"
Examples:
| dav-path |
| old |
Expand All @@ -196,7 +208,8 @@ Feature: sharing
And user "Alice" has shared file "/tmp" with user "Brian"
When user "Alice" updates the last share using the sharing API with
| permissions | share,delete,update,read |
Then as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "27"
Then the HTTP status code should be "200"
And as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "27"
Examples:
| dav-path |
| old |
Expand All @@ -215,7 +228,8 @@ Feature: sharing
When user "Brian" gets the following properties of folder "/tmp" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "27"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "27"
Examples:
| dav-path |
| old |
Expand All @@ -227,7 +241,8 @@ Feature: sharing
And user "Alice" has shared file "/tmp" with user "Brian"
When user "Alice" updates the last share using the sharing API with
| permissions | share,create,update,read |
Then as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "23"
Then the HTTP status code should be "200"
And as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "23"
Examples:
| dav-path |
| old |
Expand All @@ -246,7 +261,8 @@ Feature: sharing
When user "Brian" gets the following properties of folder "/tmp" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "23"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "23"
Examples:
| dav-path |
| old |
Expand All @@ -258,7 +274,8 @@ Feature: sharing
And user "Alice" has shared file "/tmp" with user "Brian"
When user "Alice" updates the last share using the sharing API with
| permissions | change |
Then as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "15"
Then the HTTP status code should be "200"
And as user "Brian" folder "/tmp" should contain a property "ocs:share-permissions" with value "15"
Examples:
| dav-path |
| old |
Expand All @@ -277,7 +294,8 @@ Feature: sharing
When user "Brian" gets the following properties of folder "/tmp" using the WebDAV API
| propertyName |
| ocs:share-permissions |
Then the single response should contain a property "ocs:share-permissions" with value "15"
Then the HTTP status code should be "200"
And the single response should contain a property "ocs:share-permissions" with value "15"
Examples:
| dav-path |
| old |
Expand Down