summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2021-09-16 15:20:01 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2021-09-16 18:12:00 +0200
commitcbe406ea3e9014f6bb9eb007db22c10f42bae715 (patch)
treee1693fdc971190112c6a1f5f955d1d65ba31e743 /tests
parent164b0064ed678f8f5c019d464a94afbadde7f462 (diff)
downloadnextcloud-server-cbe406ea3e9014f6bb9eb007db22c10f42bae715.tar.gz
nextcloud-server-cbe406ea3e9014f6bb9eb007db22c10f42bae715.zip
Bump @nextcloud/vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/AppSettingsContext.php4
-rw-r--r--tests/acceptance/features/bootstrap/FilesAppContext.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/acceptance/features/bootstrap/AppSettingsContext.php b/tests/acceptance/features/bootstrap/AppSettingsContext.php
index c7859edcb64..210e907a9bc 100644
--- a/tests/acceptance/features/bootstrap/AppSettingsContext.php
+++ b/tests/acceptance/features/bootstrap/AppSettingsContext.php
@@ -39,7 +39,7 @@ class AppSettingsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function appSettingsContent() {
- return Locator::forThe()->id("app-settings-content")->
+ return Locator::forThe()->xpath("//div[@id = 'app-settings-content' or @id = 'app-settings__content']")->
descendantOf(self::appSettings())->
describedAs("App settings");
}
@@ -48,7 +48,7 @@ class AppSettingsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function appSettingsOpenButton() {
- return Locator::forThe()->xpath("//div[@id = 'app-settings-header']/button")->
+ return Locator::forThe()->xpath("//div[@id = 'app-settings-header' or @id = 'app-settings__header']/button")->
descendantOf(self::appSettings())->
describedAs("The button to open the app settings");
}
diff --git a/tests/acceptance/features/bootstrap/FilesAppContext.php b/tests/acceptance/features/bootstrap/FilesAppContext.php
index fe93bf194a2..7c29aadb8d4 100644
--- a/tests/acceptance/features/bootstrap/FilesAppContext.php
+++ b/tests/acceptance/features/bootstrap/FilesAppContext.php
@@ -89,7 +89,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function closeDetailsViewButton() {
- return Locator::forThe()->css(".icon-close")->
+ return Locator::forThe()->css(".app-sidebar__close")->
descendantOf(self::detailsView())->
describedAs("Close details view in Files app");
}