From b4f51fe7285c7c80a543cc7cadf2d87adf2023c4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 7 Mar 2023 09:27:06 +0100 Subject: [PATCH] fix(CI): Fix acceptance test password field selector after @nextcloud/vue lib update Signed-off-by: Joas Schilling --- .../acceptance/features/bootstrap/FilesAppSharingContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php index b0f1fbe930b..3c2b4a8633f 100644 --- a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php +++ b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php @@ -303,7 +303,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface { * @return Locator */ public static function passwordProtectField($shareLinkMenuTriggerElement) { - return Locator::forThe()->css(".share-link-password input.action-input__input")->descendantOf(self::shareLinkMenu($shareLinkMenuTriggerElement))-> + return Locator::forThe()->css(".share-link-password input.input-field__input")->descendantOf(self::shareLinkMenu($shareLinkMenuTriggerElement))-> describedAs("Password protect field in the details view in Files app"); } @@ -311,7 +311,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface { * @return Locator */ public static function disabledPasswordProtectField($shareLinkMenuTriggerElement) { - return Locator::forThe()->css(".share-link-password input.action-input__input[disabled]")->descendantOf(self::shareLinkMenu($shareLinkMenuTriggerElement))-> + return Locator::forThe()->css(".share-link-password input.input-field__input[disabled]")->descendantOf(self::shareLinkMenu($shareLinkMenuTriggerElement))-> describedAs("Disabled password protect field in the details view in Files app"); }