-
Notifications
You must be signed in to change notification settings - Fork 187
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]Add test for search restored files using content #6709
Conversation
b88e7f6
to
a11b5ec
Compare
a11b5ec
to
c84c0cf
Compare
Given using <dav-path-version> DAV path | ||
And user "Alice" has created folder "uploadFolder" | ||
And user "Alice" has uploaded file with content "hello world from nepal" to "keywordAtStart.txt" | ||
And user "Alice" has uploaded file with content "saying hello to the world" to "uploadFolder/keywordAtMiddle.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.
is there any specific reason to upload file inside folder otherwise we could add this step in background
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.
IMO, these two steps can go to background
Given using <dav-path-version> DAV path
And user "Alice" has uploaded file with content "hello world from nepal" to "keywordAtStart.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.
There is not able to put a step containing an example table in the background Given using <dav-path-version> DAV path
But
I think it is good to make another PR since there are many changes to be done in many scenarios while putting the background to files and folder
steps
I think following can be added since there will check for files inside/outside the folder/subfolder
background:
And user "Alice" has created the following folders
| path |
| folderWithFile |
| folderWithFile/subFolder/ |
And user "Alice" has uploaded the following files with content "some data"
| path |
| test.txt |
| folderWithFile/fileInsideFolder.txt |
| folderWithFile/subFolder/fileInsideSubFolder.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.
Other LGTM 👍
129be86
to
5a68c2a
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
5a68c2a
to
46c2fa8
Compare
46c2fa8
to
4f43cef
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
This PR adds the API tests for search restored files through a tag. The scenarios added in this PR are
Related Issue
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist: