Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
pull/38839/head
julia.kirschenheuter 11 months ago committed by Ferdinand Thiessen
parent 04d4fb6286
commit 3fba4c5529

@ -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");
}

Loading…
Cancel
Save