Fix row detection acceptance test

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-05-05 17:02:33 +02:00
parent 720ef48d92
commit f9143f8db4
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function newUserForm() {
return Locator::forThe()->id("newuserHeader")->
return Locator::forThe()->id("new-user")->
describedAs("New user form in Users Settings");
}
@ -71,7 +71,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function rowForUser($user) {
return Locator::forThe()->xpath("//table[@id = 'userlist']//td[normalize-space() = '$user']/..")->
return Locator::forThe()->xpath("//div[@id='app-content']/div/div[normalize-space() = '$user']/..")->
describedAs("Row for user $user in Users Settings");
}