-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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] tests for file version and upload to share #38240
Conversation
9ee0918
to
c444159
Compare
|
||
Scenario Outline: Sharer can download file uploaded with read/write permission by sharee to a shared folder | ||
Given using <dav-path> DAV path | ||
And user "Brian" has been created with default attributes and without skeleton files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this issue but I think And user "Brian" has been created with default attributes and without skeleton files
can be kept in the background.
bc5aabe
to
c90f05f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| permissions | change | | ||
| shareWith | Brian | | ||
And user "Brian" has accepted share "/FOLDER" offered by user "Alice" | ||
And user "Brian" has uploaded file with content "some content" to "/Shares/FOLDER/textFile.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feels like that should be the When
step, as we really want to check the upload
we can check the response code of that step and the content for both "Alice" and "Brian" with
@Then /^the content of file "([^"]*)" for user "([^"]*)" should be:$/
same in other tests
other than the places where artur commented, looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
tests/acceptance/features/apiShareOperationsToShares/uploadToShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiShareOperationsToShares/uploadToShare.feature
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will put the line back and rebase/squash.
@@ -6,7 +6,6 @@ Feature: sharing | |||
And auto-accept shares has been disabled | |||
And user "Alice" has been created with default attributes and skeleton files | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to put this line back, otherwise all the line numbers below will change.
f9efe76
to
48937f8
Compare
48937f8
to
bcb8a1d
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
Added tests for:
Related Issue
How Has This Been Tested?
Types of changes
Checklist: