This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
[Tests-Only] refactor federation sharing tests for shares folder - #4111
Merged
Merged
Conversation
dpakach
force-pushed
the
refactor-fed-sharing
branch
2 times, most recently
from
September 29, 2020 07:23
5c512f0 to
a4397fe
Compare
2 tasks
dpakach
force-pushed
the
refactor-fed-sharing
branch
5 times, most recently
from
September 30, 2020 10:35
6f843e9 to
b949b21
Compare
dpakach
force-pushed
the
refactor-fed-sharing
branch
from
September 30, 2020 15:01
b949b21 to
94967ee
Compare
dpakach
marked this pull request as ready for review
October 1, 2020 03:21
dpakach
requested review from
haribhandari07,
individual-it,
kiranparajuli589 and
phil-davis
October 1, 2020 03:21
phil-davis
reviewed
Oct 1, 2020
| Given user "user1" from remote server has shared "simple-folder" with user "user1" from local server | ||
| And user "user1" from server "LOCAL" has accepted the last pending share | ||
| When the user opens folder "Shares%2Fsimple-folder" directly on the webUI | ||
| When the user reloads the current page of the webUI |
Contributor
There was a problem hiding this comment.
Suggested change
| When the user reloads the current page of the webUI | |
| And the user reloads the current page of the webUI |
| Then the user should not be able to share folder "simple-folder (2)" using the webUI | ||
| Given user "user1" from remote server has shared "simple-folder" with user "user1" from local server with "read" permissions | ||
| And user "user1" from server "LOCAL" has accepted the last pending share | ||
| And the user reloads the current page of the webUI |
Contributor
There was a problem hiding this comment.
Suggested change
| And the user reloads the current page of the webUI | |
| When the user reloads the current page of the webUI |
This seems to be a line that can start the When section of the scenario.
Contributor
|
The flow of test steps looks fine. Some of the remote+resharing scenarios get a bit complicated, with all the sharing+accepting, but that's actually the way the user workflow would happen in real life. |
phil-davis
approved these changes
Oct 1, 2020
phil-davis
left a comment
Contributor
There was a problem hiding this comment.
Small comments will be fixed in a later PR. They do not effect functionality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refactor webui test scenarios for using the Shares folder and root folder for shares.
Related Issue
Motivation and Context
Shares in ocis are received in Shares folder by default. To test that we need this refactor.
How Has This Been Tested?
🤖
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: