From: Joas Schilling Date: Tue, 7 Mar 2023 08:27:06 +0000 (+0100) Subject: fix(CI): Fix acceptance test password field selector after @nextcloud/vue lib update X-Git-Tag: v27.0.0beta1~371^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4f51fe7285c7c80a543cc7cadf2d87adf2023c4;p=nextcloud-server.git fix(CI): Fix acceptance test password field selector after @nextcloud/vue lib update Signed-off-by: Joas Schilling --- 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"); }