]> source.dussan.org Git - nextcloud-server.git/commit
Fix delete user acceptance test
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Sat, 6 Mar 2021 00:29:54 +0000 (01:29 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 8 Mar 2021 07:59:33 +0000 (07:59 +0000)
commitd548d212a25b6c77eebcd3a2bac0631b7a788281
tree8993446434020d20ef0093cedbea19044312806a
parentdd1a554c79c372acc09ca4ac241c6237bfcac038
Fix delete user acceptance test

Adding some missing asserts showed that the "delete user" acceptance
test was silently failing, as the deletion was not being confirmed in
the dialog and thus the user was not being deleted.

The dialog button contains a single quote ("user0's"), so the XPath
expression had to be adjusted (it seems that it is not possible to
escape a single quote in a string enclosed in single quotes in XPath
1.0).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
tests/acceptance/features/bootstrap/DialogContext.php
tests/acceptance/features/users.feature