File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/acceptance/features/bootstrap Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public static function createNewUserButton() {
8282 * @return Locator
8383 */
8484 public static function rowForUser ($ user ) {
85- return Locator::forThe ()->css ("div .user-list-grid div .row[data-id=$ user] " )->
85+ return Locator::forThe ()->css ("table .user-list-grid tr .row[data-id=$ user] " )->
8686 describedAs ("Row for user $ user in Users Settings " );
8787 }
8888
@@ -144,7 +144,7 @@ public static function theAction($action, $user) {
144144 * @return Locator
145145 */
146146 public static function theColumn ($ column ) {
147- return Locator::forThe ()->xpath ("//div [@class='user-list-grid']//div [normalize-space() = ' $ column'] " )->
147+ return Locator::forThe ()->xpath ("//table [@class='user-list-grid']//td [normalize-space() = ' $ column'] " )->
148148 describedAs ("The $ column column in Users Settings " );
149149 }
150150
@@ -170,7 +170,7 @@ public static function editModeToggle($user) {
170170 * @return Locator
171171 */
172172 public static function editModeOn ($ user ) {
173- return Locator::forThe ()->css ("div .user-list-grid div .row.row--editable[data-id=$ user] " )->
173+ return Locator::forThe ()->css ("table .user-list-grid tr .row.row--editable[data-id=$ user] " )->
174174 describedAs ("I see the edit mode is on for the user $ user in Users Settings " );
175175 }
176176
You can’t perform that action at this time.
0 commit comments