]> source.dussan.org Git - nextcloud-server.git/commitdiff
Replace plain input fields with NcTextField fields and NcMultiSelect fields with...
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Mon, 26 Jun 2023 14:03:58 +0000 (16:03 +0200)
committerFerdinand Thiessen <opensource@fthiessen.de>
Wed, 28 Jun 2023 19:53:12 +0000 (21:53 +0200)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
tests/acceptance/features/bootstrap/UsersSettingsContext.php

index 3e43b49b18997ea9b2bbf371b151a6e5a4f70ade..19d49ed1f4f1cd099403224b1819c3cc69447803 100644 (file)
@@ -117,8 +117,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
         * @return Locator
         */
        public static function optionInInputForUser($cell, $user) {
-               return Locator::forThe()->css(".multiselect__option--highlight")->
-                       descendantOf(self::classCellForUser($cell, $user))->
+               return Locator::forThe()->css(".vs__dropdown-option--highlight")->
                        describedAs("Selected $cell option in $cell input for user $user in Users Settings");
        }
 
@@ -152,7 +151,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
         * @return Locator
         */
        public static function selectedSelectOption($cell, $user) {
-               return Locator::forThe()->css(".multiselect__single")->
+               return Locator::forThe()->css(".vs__selected .name-parts")->
                        descendantOf(self::classCellForUser($cell, $user))->
                        describedAs("The selected option of the $cell select for the user $user in Users Settings");
        }