diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-28 08:20:10 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-28 08:20:10 +0200 |
commit | f5f31e221c2f96f2190ef510773fa33b6ca82807 (patch) | |
tree | 4e31b7b215ff0e41e46f54102bd7cb9695138137 /tests/acceptance | |
parent | 7c15d9e08009bd06960efcadfbef68f47f5bed8c (diff) | |
download | nextcloud-server-f5f31e221c2f96f2190ef510773fa33b6ca82807.tar.gz nextcloud-server-f5f31e221c2f96f2190ef510773fa33b6ca82807.zip |
Fix class selector for acceptance tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'tests/acceptance')
-rw-r--r-- | tests/acceptance/features/bootstrap/UsersSettingsContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/UsersSettingsContext.php b/tests/acceptance/features/bootstrap/UsersSettingsContext.php index e087ac1993b..56dce822359 100644 --- a/tests/acceptance/features/bootstrap/UsersSettingsContext.php +++ b/tests/acceptance/features/bootstrap/UsersSettingsContext.php @@ -90,7 +90,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface { * @return Locator */ public static function classCellForUser($class, $user) { - return Locator::forThe()->xpath("//*[@class='$class']")-> + return Locator::forThe()->xpath("//*[contains(concat(' ', normalize-space(@class), ' '), ' $class ')]")-> descendantOf(self::rowForUser($user))-> describedAs("$class cell for user $user in Users Settings"); } |