aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-04-21 16:33:10 +0200
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-05-11 16:36:37 +0200
commitcb852ef63bd2997b74d67c999c86b56686370e27 (patch)
tree12ae83dc3f674a81e25b73f192a65939234f3b3f /tests
parent9d2d3d482bce004d134dd87d7b37c3dfb6513412 (diff)
downloadnextcloud-server-cb852ef63bd2997b74d67c999c86b56686370e27.tar.gz
nextcloud-server-cb852ef63bd2997b74d67c999c86b56686370e27.zip
Fix table view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/UsersSettingsContext.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/acceptance/features/bootstrap/UsersSettingsContext.php b/tests/acceptance/features/bootstrap/UsersSettingsContext.php
index 33c47850202..ac516089c11 100644
--- a/tests/acceptance/features/bootstrap/UsersSettingsContext.php
+++ b/tests/acceptance/features/bootstrap/UsersSettingsContext.php
@@ -82,7 +82,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function rowForUser($user) {
- return Locator::forThe()->css("div.user-list-grid div.row[data-id=$user]")->
+ return Locator::forThe()->css("table.user-list-grid tr.row[data-id=$user]")->
describedAs("Row for user $user in Users Settings");
}
@@ -144,7 +144,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function theColumn($column) {
- return Locator::forThe()->xpath("//div[@class='user-list-grid']//div[normalize-space() = '$column']")->
+ return Locator::forThe()->xpath("//table[@class='user-list-grid']//*[normalize-space() = '$column']")->
describedAs("The $column column in Users Settings");
}
@@ -170,7 +170,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function editModeOn($user) {
- return Locator::forThe()->css("div.user-list-grid div.row.row--editable[data-id=$user]")->
+ return Locator::forThe()->css("table.user-list-grid tr.row.row--editable[data-id=$user]")->
describedAs("I see the edit mode is on for the user $user in Users Settings");
}