Repository navigation
[Tests-Only] Refactor webUISharingInternalUsers to use Shares folder - #4114
Conversation
6845966 to
6d86662
Compare
dpakach
left a comment
There was a problem hiding this comment.
Please change the folder structure to
webUISharingInternalUsers - Scenarios that contains tests with Shares folder enabled
webUISharingInternalUsersToRoot - Old Scenarios without Shares folder and auto accept.
Thats how it's done in other suites and it will make it easy to review
6d86662 to
d79800b
Compare
| @@ -1,11 +1,13 @@ | |||
| @skipOnOCIS @ocis-reva-issue-64 | |||
There was a problem hiding this comment.
@skipOnOCIS @ocis-reva-issue-64
There was a problem hiding this comment.
@dpakach it's supposed to run on ocis, ...ToRoot/shareWithUsers.feature is skipped on ocis.
There was a problem hiding this comment.
You should still skip these because these tests still don't work on ocis
| But these resources should not be listed in the folder "simple-folder (2)" on the webUI | ||
| | entry_name | | ||
| | simple-folder (2) | | ||
| But these resources should not be listed in the folder "simple-folder" on the webUI |
There was a problem hiding this comment.
| But these resources should not be listed in the folder "simple-folder" on the webUI | |
| But these resources should not be listed in the folder "Shares/simple-folder" on the webUI |
There was a problem hiding this comment.
Same as above
There was a problem hiding this comment.
This uses
client.page.filesPage().navigateAndWaitTillLoaded(folder)
And that function in turn uses\
await navigationHelper.navigateAndWaitTillElementPresent(
join(this.api.launchUrl, '#/files/list', folder),
this.elements.newFileButtonLoaded
)
since it uses the URL directly rather than using the UI. This step should be
But these resources should not be listed in the folder "Shares/simple-folder" on the webUI
Since this step is should not be, it doesn't fail but it is not what we should be looking for here.
There was a problem hiding this comment.
Please also fix other occurrences of similar steps.
| Given user "user2" has logged in using the webUI | ||
| When the user renames folder "simple-folder" to "new-simple-folder" using the webUI | ||
| And the user shares folder "new-simple-folder" with user "User One" as "Editor" using the webUI | ||
| And user "user1" has accepted the share "new-simple-folder" offered by user "user2" |
There was a problem hiding this comment.
| And user "user1" has accepted the share "new-simple-folder" offered by user "user2" | |
| And user "user1" accepts the share "new-simple-folder" offered by user "user2" using the Sharing API |
d79800b to
a61e936
Compare
a61e936 to
590a779
Compare
590a779 to
e9332f5
Compare
e9332f5 to
5e48661
Compare
5e48661 to
0ecbefe
Compare
Description
Refactor
webUISharingInternalUsersto use Root and Shares folder for shares.Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: