summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-05 17:02:33 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-16 09:50:23 +0200
commitf9143f8db4bd43a3e2163dbada65ab867772866c (patch)
tree17953fc6e5e6349baba8385428d0f4fb87162df6 /tests
parent720ef48d9283b53356cfadfb56adda13bfa96e64 (diff)
downloadnextcloud-server-f9143f8db4bd43a3e2163dbada65ab867772866c.tar.gz
nextcloud-server-f9143f8db4bd43a3e2163dbada65ab867772866c.zip
Fix row detection acceptance test
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/UsersSettingsContext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/features/bootstrap/UsersSettingsContext.php b/tests/acceptance/features/bootstrap/UsersSettingsContext.php
index 9ddea57f413..0ba31c2283b 100644
--- a/tests/acceptance/features/bootstrap/UsersSettingsContext.php
+++ b/tests/acceptance/features/bootstrap/UsersSettingsContext.php
@@ -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");
}