diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-06-26 16:03:58 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-06-28 21:53:12 +0200 |
commit | 3fba4c55298d1b29e86607005d70a127721d98d7 (patch) | |
tree | b6db07c000734753ef682e0b8fd4137d32314485 /tests | |
parent | 04d4fb6286d8d0198bc8e7342ecdc88cb8d7e748 (diff) | |
download | nextcloud-server-3fba4c55298d1b29e86607005d70a127721d98d7.tar.gz nextcloud-server-3fba4c55298d1b29e86607005d70a127721d98d7.zip |
Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/acceptance/features/bootstrap/UsersSettingsContext.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/acceptance/features/bootstrap/UsersSettingsContext.php b/tests/acceptance/features/bootstrap/UsersSettingsContext.php index 3e43b49b189..19d49ed1f4f 100644 --- a/tests/acceptance/features/bootstrap/UsersSettingsContext.php +++ b/tests/acceptance/features/bootstrap/UsersSettingsContext.php @@ -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"); } |