Skip to content

Commit f74f922

Browse files
artongesusnux
authored andcommitted
!fixup Fix acceptance tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 parent 9b3764d commit f74f922

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/acceptance/features/bootstrap/UsersSettingsContext.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ public static function displayNameCellForUser($user) {
117117
* @return Locator
118118
*/
119119
public static function optionInInputForUser($cell, $user) {
120-
return Locator::forThe()->css(".vs__dropdown-option--highlight")->
120+
return Locator::forThe()->css(".multiselect__option--highlight")->
121+
descendantOf(self::classCellForUser($cell, $user))->
121122
describedAs("Selected $cell option in $cell input for user $user in Users Settings");
122123
}
123124

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

0 commit comments

Comments
 (0)