Skip to content

Commit

Permalink
Replace plain input fields with NcTextField fields and NcMultiSelect …
Browse files Browse the repository at this point in the history
…fields with NcSelect fields

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
  • Loading branch information
JuliaKirschenheuter authored and susnux committed Jun 28, 2023
1 parent 04d4fb6 commit 9b3764d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/acceptance/features/bootstrap/UsersSettingsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ public static function displayNameCellForUser($user) {
* @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");
}

Expand Down Expand Up @@ -152,7 +151,7 @@ public static function theColumn($column) {
* @return Locator
*/
public static function selectedSelectOption($cell, $user) {
return Locator::forThe()->css(".multiselect__single")->
return Locator::forThe()->css(".vs--single .name-parts__first")->
descendantOf(self::classCellForUser($cell, $user))->
describedAs("The selected option of the $cell select for the user $user in Users Settings");
}
Expand Down

0 comments on commit 9b3764d

Please sign in to comment.