-
Notifications
You must be signed in to change notification settings - Fork 168
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
[full-ci] Simplify link creation in Files/Sidebar #6961
Conversation
Results for oC10SharingPublic2 https://drone.owncloud.com/owncloud/web/26190/38/1 |
0ddd311
to
7162b72
Compare
b6de9cc
to
f25cb13
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.
Some weird findings (please check if you can reproduce those before digging into code):
- using
ENTER
in password prompt continues with link creation but doesn't close the modal - setting password enforcement for read only public links and trying to set a different role on an existing link doesn't work. I get the confirmation toast but the role is not updated.
packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue
Outdated
Show resolved
Hide resolved
f45b27f
to
e7011b7
Compare
cf652df
to
ef0754a
Compare
|
33b12bf
to
752cd82
Compare
752cd82
to
27064c9
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 now 👍
@individual-it could your team take a look? |
@pascalwengerter will do, but most likely we will not be able to do it this week |
It's not super pressing but of course the earlier we can merge the better. Next week is fine with me! |
27064c9
to
f0426cb
Compare
7640d0a
to
f5463e8
Compare
Just rebased, only one CI failure which passes reliable locally - restarted CI to see if it's (potentially) flaky |
@pascalwengerter I were looking into it. I run it on my local machine, sometimes it gets passed, and sometimes fails. But after using a delay before fetching the Share details it always passes. Needs more investigation. |
@pascalwengerter are you aware of this message |
Didn't see this, which backend/setup are you using (e.g. required passwords/expiration dates) and which button did you press (assuming |
f5463e8
to
f147838
Compare
backend: oc10 |
I don't fully get what you're writing. If you first log in as user and then change the enforcement in the settings, we run into the problem of caches capabilities so this is nothing that needs further investigation (since it's known/broken by design). My problem is that |
tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md
Outdated
Show resolved
Hide resolved
b8cd299
to
caefa69
Compare
Sort out expected failures Fix ODS bump changelog item
|
ba61f42
to
9833ebc
Compare
await this.waitForElementVisible('@dialogConfirmBtnEnabled') | ||
.initAjaxCounters() | ||
.click('@dialogConfirmBtnEnabled') | ||
.waitForOutstandingAjaxCalls() |
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.
@pascalwengerter I have made these changes. IMO this might fix the webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature:27{6,8}
failure.
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.
Sounds good to me, let's restart CI later this day
SonarCloud Quality Gate failed. |
Description
This will most likely be a bit of a pain in the acceptance tests, but simplifies link creation by the user and reduces code complexity by quite a bit
It also shifts from using the capability-based defaultLinkName to a translatable default defined in the frontend
Related Issue