-
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]Adjust correct tags for createPublicLink tests #38803
Conversation
d506aaa
to
f08b9ff
Compare
f08b9ff
to
3edd873
Compare
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.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.
LGTM except for the already existing reviews
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.
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.
These complicated scenarios with combinations of settings (Given) and actions (When) and checks (Then) are hard to describe in a 1-line Scenario description!
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
5f26733
to
dad6ec0
Compare
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature
Outdated
Show resolved
Hide resolved
f196e91
to
e5a43d8
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.
looks good, One small thing though not very important would be replacing webDavApi
to webdav_api_version
just to be consistent with existing convention
e5a43d8
to
67bba9a
Compare
Kudos, SonarCloud Quality Gate passed! |
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.
There are 2 pairs of scenarios down the end that could also be made into Scenario Outlines. But that is not a big problem! Let's merge this.
And the public download of file "/parent.txt" from inside the last public shared folder using the new public WebDAV API should fail with HTTP status code "404" | ||
|
||
@issue-ocis-reva-199 @notToImplementOnOCIS @issue-ocis-2079 | ||
Scenario: Delete a folder that has been publicly shared and try to access using the old public WebDAV API |
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.
Note: this scenario could be merged with the one above to make a Scenario Outline.
@@ -752,6 +682,14 @@ Feature: create a public link share | |||
When the public downloads file "parent.txt" from inside the last public shared folder using the new public WebDAV API | |||
Then the value of the item "//s:message" in the response should be "File not found: parent.txt" | |||
And the HTTP status code should be "404" | |||
|
|||
@issue-ocis-reva-292 @notToImplementOnOCIS @issue-ocis-2079 | |||
Scenario: try to download from a public share that has upload only permissions using the old public webdav api |
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.
Note: this scenario could be merged with the one above to make a Scenario Outline.
Description
This PR adjusts the
notToImplementOnOCIS
tags in the scenarios ofcreatePublicLinkShare.feature
which are not to be implemented in OCIS immediately.Related Issue
Motivation and Context
Some of the scenarios of features which are not expected to be implemented in OCIS immediately were also run in OCIS-CI, which actually wasted resources and time. So the
notToImplementOnOCIS
tags on such scenarios were necessary.How Has This Been Tested?
Types of changes
Checklist: