]> source.dussan.org Git - nextcloud-server.git/commit
Adjust acceptance tests to changes in @nextcloud/vue 2.6.3 22111/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Wed, 2 Sep 2020 02:24:03 +0000 (04:24 +0200)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 3 Sep 2020 07:09:26 +0000 (09:09 +0200)
commit96821945fbbca72a2bd26b88c1a057e53d86ab78
tree1f6071792856d30e976bfe0ea2eee6965c026ce6
parent43243ce298d7ba2017321262c9ca02614efa7577
Adjust acceptance tests to changes in @nextcloud/vue 2.6.3

The menu button and the menu of a share are no longer direct childs of
the actions of the share row. The menu button is now a child of a
".trigger" element, while the menu is a direct child of the body and has
an id defined in the "aria-describedby" attribute of the ".trigger"
element.

In XPath 1.0 it does not seem possible to "backreference" a value or
create variables, so when the share menu or one of its item is needed
now the ".trigger" element is first found and then its XPath expression
is used to compose its "aria-describedby" attribute in the XPath
expression for the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
15 files changed:
core/js/dist/install.js
core/js/dist/install.js.map
core/js/dist/login.js
core/js/dist/login.js.map
core/js/dist/main.js
core/js/dist/main.js.map
core/js/dist/maintenance.js
core/js/dist/maintenance.js.map
core/js/dist/recommendedapps.js
core/js/dist/recommendedapps.js.map
core/js/dist/unified-search.js
core/js/dist/unified-search.js.map
core/src/services/UnifiedSearchService.js
core/src/views/UnifiedSearch.vue
tests/acceptance/features/bootstrap/FilesAppSharingContext.php