-
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
[stable10] use a multi line approach to display share autocomplete #35397
Conversation
1cf1fef
to
3f1a72d
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.
This is so beautiful ❤️
@DeepDiver1975 Seems like the WebUI Sharing tests have on failing Scenario |
With this PR the webUI has a separate UI element that displays the type of the potential share recipient. e.g. "User", "Group", "Federated". Previously this information was just appended in text after the display name "(group)", "(federated)". The webUI tests need enhancing so that they process this extra UI element when working out which share recipient to click on in the dropdown list, and when checking if the correct matching entries are found in the dropdown list. I will look. |
Codecov Report
@@ Coverage Diff @@
## stable10 #35397 +/- ##
==============================================
- Coverage 64.68% 64.65% -0.03%
Complexity 20103 20103
==============================================
Files 1293 1293
Lines 76976 76977 +1
Branches 1300 1301 +1
==============================================
- Hits 49793 49771 -22
- Misses 26799 26821 +22
- Partials 384 385 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## stable10 #35397 +/- ##
==============================================
+ Coverage 64.8% 64.8% +<.01%
Complexity 20183 20183
==============================================
Files 1293 1293
Lines 77170 77173 +3
Branches 1300 1301 +1
==============================================
+ Hits 50010 50012 +2
Misses 26776 26776
- Partials 384 385 +1
Continue to review full report at Codecov.
|
@@ -98,6 +118,32 @@ public function userFromServerHasSharedWithUserFromServer( | |||
); | |||
} | |||
|
|||
/** | |||
* @Given /^user "([^"]*)" from server "(LOCAL|REMOTE)" has shared "([^"]*)" with user "([^"]*)" from server "(LOCAL|REMOTE)" with permissions (.*)$/ |
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.
This is specially useful for setting up a share on the remote (federated) server, and giving it some permissions.
We want to use the API to set up stuff on the remote server, rather than the webUI, because we do not want to depend on particular details of the webUI on the remote server. (The remote server might be running some older release/code that has a bit different webUI behaviour, but it should have compatible API behaviour within the same major version)
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.
In the case of this particular PR, the webUI dropdown sharing list has changed its format/text a bit, and so trying to run the new webUI sharing acceptance test code against a remote server without the PR would fail.
0eff143
to
8f732bf
Compare
@phil-davis Great Work! Keep on :-) |
9358885
to
c6a148d
Compare
@individual-it this is ready for review of the acceptance test changes. |
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.
tests look good to me
@pmaier1 and anyone else who cares, this is "good to go" from a technical POV. |
Forward port to |
Yes, something for the next minor. |
See comment on forward port about codecov #35486 (comment) |
…ossibleToShareFileFolderUsingTheWebUI
I cherry-picked commit "add js test for remote share with server" from the master PR #35486 |
Description
Related Issue
How Has This Been Tested?
Screenshots (if appropriate):
Federated or Guest
Group
With additional user information
Types of changes
Checklist:
Open tasks: