Skip to content

Commit

Permalink
fixup! Fixed acceptance 1
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv committed Feb 27, 2018
1 parent 22785c5 commit 9706b2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings/js/users/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var UserList = {
/**
* add username and displayname to row (in data and visible markup)
*/
$tr.data('uid', user.name);
$tr.attr('data-uid', user.name);
$tr.data('displayname', user.displayname);
$tr.data('mailAddress', user.email);
$tr.data('restoreDisabled', user.isRestoreDisabled);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static function createNewUserButton() {
* @return Locator
*/
public static function rowForUser($user) {
return Locator::forThe()->xpath("//table[@id = 'userlist']//tr[normalize-space() = '$user']/..")->
return Locator::forThe()->xpath("//table[@id = 'userlist']//tr[@data-uid = '$user']/..")->
describedAs("Row for user $user in Users Settings");
}

Expand Down

0 comments on commit 9706b2d

Please sign in to comment.