-
Notifications
You must be signed in to change notification settings - Fork 184
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]Added implementation and Scenarios for MOVE
request operation
#4179
Conversation
3d42947
to
dd09547
Compare
💥 Acceptance test localApiTests-apiSpaces-ocis failed. Further test are cancelled... |
dd09547
to
9e5fcf0
Compare
9e5fcf0
to
14acf48
Compare
This PR is failing because of this issue #4188 |
14acf48
to
ce6055b
Compare
MOVE
request operationMOVE
request operation
ce6055b
to
a0bdbdb
Compare
459d65e
to
0640b29
Compare
0640b29
to
cc8936f
Compare
eb6da3e
to
3a1ce2d
Compare
3a1ce2d
to
3a2d4c2
Compare
3a2d4c2
to
40a1c3c
Compare
40a1c3c
to
1a51433
Compare
bf36251
to
740bff8
Compare
740bff8
to
23fa99c
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.
LGTM
| Alice | | ||
| Brian | | ||
|
||
Scenario Outline: Moving a file within same space project with role manager and editor |
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.
Scenario Outline: Moving a file within same space project with role manager and editor | |
Scenario Outline: Moving a file within same project space with role manager and editor |
"space project" is in a lot of feature files already - I will make a separate PR to discuss fixing that word order.
And user "Brian" has shared a space "Project" to user "Alice" with role "<role>" | ||
And user "Brian" has shared folder "/testshare" with user "Alice" with permissions "<permissions>" | ||
And user "Alice" has accepted share "/testshare" offered by user "Brian" | ||
When user "Alice" moves file "project.txt" from space "Project" to "/testshare/project.txt" inside space "Shares Jail" using the 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.
"Shares Jail" never gets mentioned before here in the scenario. It is a bit surprising - there is a special space name "Shares Jail" that already/always exists. This is already in many other scenarios, so it is not a new thing.
We should write something somewhere about this "behavior". I will make a separate issue or PR - listSpaces.feature
looks like the place to make a note about this "magic".
- [apiSpaces/moveSpaces.feature:184](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/moveSpaces.feature#L184) | ||
- [apiSpaces/moveSpaces.feature:185](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/moveSpaces.feature#L185) | ||
- [apiSpaces/moveSpaces.feature:186](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/moveSpaces.feature#L186) | ||
- [apiSpaces/moveSpaces.feature:189](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/moveSpaces.feature#L189) |
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.
Sorry for late review. tests failed not because I can't copy or move. I'd sudgest to use:
And for user "Alice" folder "testshare" of the space "Shares Jail" should contain these files:
| personal.txt |
instead of:
And for user "Alice" the space "Shares Jail" should not contain these entries:
| /testshare/personal.txt |
And create separate tests to checking PROPFIND with Depth infinity.
we can have a lot of working tests instead of waiting for a third-party issue to be fixed
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.
@ScharfViktor yes that can be done. I can create separate issue to fix it. shall I?
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.
It's going to be great. You can create a new PR to improve this and that: #4087 (comment)
This PR adds various tests scenarios for
MOVE
within and with different spacesThis PR Depends on #4126
Part of : #4087