From ab13bbc3fc098d3c13834ca6b5a4c85b08dacaa5 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 26 Aug 2021 10:43:28 +0200 Subject: [PATCH] Switch tests to using the toggle button for the sidebar --- .../src/components/AppBar/ViewOptions.vue | 1 + .../src/components/SideBar/FileInfo.vue | 4 +- ...-failures-with-oc10-server-oauth2-login.md | 3 - ...-failures-with-ocis-server-ocis-storage.md | 6 - .../fileFolderActionMenu.feature | 1 - .../webUIFilesDetails/fileDetails.feature | 5 +- .../shareWithGroups.feature | 1 + .../publicLinkCreate.feature | 2 +- .../FilesPageElement/appSideBar.js | 197 ++++++++------ .../FilesPageElement/contextMenu.js | 53 ++++ .../FilesPageElement/fileActionsMenu.js | 37 ++- .../pageObjects/FilesPageElement/filesList.js | 243 ++++++++---------- .../pageObjects/FilesPageElement/filesRow.js | 13 - .../FilesPageElement/mediaViewerPage.js | 4 +- .../FilesPageElement/sharingDialog.js | 1 - .../pageObjects/markdownEditorPage.js | 4 +- tests/acceptance/pageObjects/personalPage.js | 32 --- .../stepDefinitions/filesContext.js | 49 +--- .../stepDefinitions/privateLinksContext.js | 4 +- .../stepDefinitions/publicLinkContext.js | 49 +--- .../stepDefinitions/sharingContext.js | 6 +- 21 files changed, 326 insertions(+), 389 deletions(-) create mode 100644 tests/acceptance/pageObjects/FilesPageElement/contextMenu.js diff --git a/packages/web-app-files/src/components/AppBar/ViewOptions.vue b/packages/web-app-files/src/components/AppBar/ViewOptions.vue index 1f459c9cd97..c73518597e3 100644 --- a/packages/web-app-files/src/components/AppBar/ViewOptions.vue +++ b/packages/web-app-files/src/components/AppBar/ViewOptions.vue @@ -14,6 +14,7 @@
-

- {{ highlightedFile.name }} -

+

{{ highlightedFile.name }}