From ab82aeed730f4274422b4d0a71c7110caa43a14b Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Mon, 14 Feb 2022 17:56:50 +0100 Subject: [PATCH] Handle UiKit & iconMaterial removal Bump web-test-middleware in CI Remove fileUpload volumes in CI, bump web to official v5.0.0 Rename web changelog & fix settings acceptance test Add 'Spaces' to settings navBar tests Add new profile link & quota to settings userMenu tests Update expected failures from web v5.0.0 release Bump web commit ID Bump web commit ID --- .drone.env | 2 +- .drone.star | 8 +---- accounts/ui/app.js | 5 ++- accounts/ui/components/App.vue | 26 ++++++++++---- .../accounts/AccountsBatchActions.vue | 35 +++++++++++++++---- .../ui/components/accounts/AccountsCreate.vue | 8 +++-- .../ui/components/accounts/AccountsList.vue | 9 +++-- .../components/accounts/AccountsListRow.vue | 18 +++++++--- .../{update-5.0.0.md => update-web-5.0.0.md} | 0 settings/ui/app.js | 7 ++-- settings/ui/components/SettingsApp.vue | 10 +++--- settings/ui/components/SettingsBundle.vue | 27 ++++++++------ .../ui/components/settings/SettingNumber.vue | 2 +- .../ui/components/settings/SettingString.vue | 2 +- .../acceptance/features/settings.feature | 2 +- .../ui/tests/acceptance/helpers/language.js | 24 ++++++++----- ...expected-failures-webUI-on-OCIS-storage.md | 33 ++++++++--------- web/Makefile | 2 +- 18 files changed, 138 insertions(+), 82 deletions(-) rename changelog/unreleased/{update-5.0.0.md => update-web-5.0.0.md} (100%) diff --git a/.drone.env b/.drone.env index 9c211f96b76..b8af3d5550b 100644 --- a/.drone.env +++ b/.drone.env @@ -3,5 +3,5 @@ CORE_COMMITID=cb9a31fd45721406ee150682d86e29e1b2e8b0d8 CORE_BRANCH=master # The test runner source for UI tests -WEB_COMMITID=e84960674723d8fb8c3c42e1ada8ef8cc1747ba6 +WEB_COMMITID=905b4e342db0202cdbaa8c21096bf87f179b25f6 WEB_BRANCH=master diff --git a/.drone.star b/.drone.star index 17242bf6a37..f0f0991d8ef 100644 --- a/.drone.star +++ b/.drone.star @@ -7,7 +7,7 @@ OC_CI_GOLANG = "owncloudci/golang:1.17" OC_CI_NODEJS = "owncloudci/nodejs:14" OC_CI_PHP = "owncloudci/php:7.4" OC_CI_WAIT_FOR = "owncloudci/wait-for:latest" -OC_TESTING_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.3.0" +OC_TESTING_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.3.1" MINIO_MC = "minio/mc:RELEASE.2021-10-07T04-19-58Z" REDIS = "redis:6-alpine" @@ -635,16 +635,10 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1, "git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web", "cd /srv/app/web", "git checkout $WEB_COMMITID", - "cp -r tests/acceptance/filesForUpload/* /uploads", "cd tests/acceptance/", "yarn install --immutable", "./run.sh", ], - "volumes": [stepVolumeOC10Tests] + - [{ - "name": "uploads", - "path": "/uploads", - }], }, ] + failEarly(ctx, early_fail), "services": selenium() + middlewareService(), diff --git a/accounts/ui/app.js b/accounts/ui/app.js index a4e2c963b78..82d3b7d3c1f 100644 --- a/accounts/ui/app.js +++ b/accounts/ui/app.js @@ -12,8 +12,7 @@ const appInfo = { name: $gettext('Accounts'), id: 'accounts', icon: 'team', - isFileEditor: false, - extensions: [] + isFileEditor: false } const routes = [ @@ -27,7 +26,7 @@ const routes = [ const navItems = [ { name: $gettext('Accounts'), - iconMaterial: appInfo.icon, + icon: appInfo.icon, route: { name: 'accounts', path: `/${appInfo.id}/` diff --git a/accounts/ui/components/App.vue b/accounts/ui/components/App.vue index 4c36b0b8237..d99688cc02b 100644 --- a/accounts/ui/components/App.vue +++ b/accounts/ui/components/App.vue @@ -1,6 +1,6 @@