summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-02 19:48:30 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2023-10-16 14:12:20 +0000
commit6a375ca161d945c1cbed6dc8485eb50861eb8073 (patch)
tree490f79cde1714afd121975a3c37b9b8ebaebc73f /tests/acceptance
parentc932c94fdd18a0799c522e4e25cca197724d9f2f (diff)
downloadnextcloud-server-6a375ca161d945c1cbed6dc8485eb50861eb8073.tar.gz
nextcloud-server-6a375ca161d945c1cbed6dc8485eb50861eb8073.zip
refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'tests/acceptance')
-rw-r--r--tests/acceptance/features/bootstrap/ContactsMenuContext.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/acceptance/features/bootstrap/ContactsMenuContext.php b/tests/acceptance/features/bootstrap/ContactsMenuContext.php
index b54433cf07f..de79ecc48ca 100644
--- a/tests/acceptance/features/bootstrap/ContactsMenuContext.php
+++ b/tests/acceptance/features/bootstrap/ContactsMenuContext.php
@@ -39,7 +39,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function contactsMenu() {
- return Locator::forThe()->xpath("//*[@id = 'header']//*[@id = 'contactsmenu']//*[@id = 'contactsmenu-menu']")->
+ return Locator::forThe()->xpath("//*[@id = 'header']//*[@id = 'contactsmenu']//*[@class = 'contactsmenu__menu']")->
describedAs("Contacts menu");
}
@@ -47,7 +47,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function contactsMenuSearchInput() {
- return Locator::forThe()->id("contactsmenu-search")->
+ return Locator::forThe()->id("contactsmenu__menu__search")->
descendantOf(self::contactsMenu())->
describedAs("Contacts menu search input");
}
@@ -56,7 +56,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function noResultsMessage() {
- return Locator::forThe()->xpath("//*[@class = 'emptycontent' and normalize-space() = 'No contacts found']")->
+ return Locator::forThe()->xpath("//*[@class = 'empty-content' and normalize-space() = 'No contacts found']")->
descendantOf(self::contactsMenu())->
describedAs("No results message in Contacts menu");
}
@@ -65,7 +65,7 @@ class ContactsMenuContext implements Context, ActorAwareInterface {
* @return Locator
*/
private static function menuItemFor($contactName) {
- return Locator::forThe()->xpath("//*[@class = 'full-name' and normalize-space() = '$contactName']")->
+ return Locator::forThe()->xpath("//*[@class = 'contact__body__full-name' and normalize-space() = '$contactName']")->
descendantOf(self::contactsMenu())->
describedAs($contactName . " contact in Contacts menu");
}