-
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 tests according to the expected behavior in OCIS #39111
Conversation
cdc7491
to
3944c7f
Compare
tests/acceptance/features/apiShareManagementToShares/moveReceivedShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiShareManagementToShares/moveReceivedShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiShareManagementToShares/moveReceivedShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiShareUpdateToShares/updateShare.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiShareReshareToShares2/reShareChain.feature
Outdated
Show resolved
Hide resolved
3944c7f
to
d1f2644
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
@@ -63,6 +63,41 @@ Feature: sharing | |||
| 1 | 100 | | |||
| 2 | 200 | | |||
|
|||
|
|||
@issue-ocis-1289 @skipOnOcV10 |
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.
why do we skip this on oc10?
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 have removed the skipOnOc tag now. I had skipped it thinking the scenarios were almost same, but there is no harm in running in oc10 as the test passes there.
And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/textfile0.txt" | ||
And user "Alice" has shared file "textfile0.txt" with group "grp1" | ||
And user "Brian" has accepted share "/textfile0.txt" offered by user "Alice" | ||
And user "Brian" has created folder "/FOLDER" |
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.
that folder is never used for anything in the test
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.
yes, it was a mistake. I have fixed it now.
@@ -63,6 +63,41 @@ Feature: sharing | |||
| 1 | 100 | | |||
| 2 | 200 | | |||
|
|||
|
|||
@issue-ocis-1289 @skipOnOcV10 | |||
Scenario Outline: keep group permissions in sync |
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 don't understand what we are trying to test here, could you please explain
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.
the above scenario actually tests that when a share which is moved to another folder by the receiver, and then when the sharer updates the share permission, the share permission is updated as expected. But since moving the share outside a shares folder, or even creating a new folder inside shares folder is not going to be implemented in ocis, I recreated a similar scenario where the share is just renamed instead of trying to move to some other folder.
@files_sharing-app-required | ||
@issue-ocis-reva-34 | ||
@files_sharing-app-required @issue-ocis-reva-34 |
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.
do we really want to do that? That will mess up more lines in the expected to fail file
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.
yes, the changes has been made in expected failures, so while I am in this file, I wanted to make it uniform
d1f2644
to
aae8ce1
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
This PR adds
notToImplementOnOCIS
tag for the test scenarios in which the folders are to be moved/renamed from the shares folder, which are never to be implemented on ocis. For some scenarios where some changes might reproduce the expected behavior of that in ocis, required adjustments are made. Few scenarios are added for the behavior only in ocis.Related Issue
How Has This Been Tested?
Types of changes
Checklist: