From a30eacccbf04863c43492002f9f51fc1967cbfaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 8 May 2018 18:57:27 +0200 Subject: [PATCH] Fixed new user form detection in acceptance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- tests/acceptance/features/bootstrap/UsersSettingsContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/features/bootstrap/UsersSettingsContext.php b/tests/acceptance/features/bootstrap/UsersSettingsContext.php index 0ba31c2283b..d65c58ecabe 100644 --- a/tests/acceptance/features/bootstrap/UsersSettingsContext.php +++ b/tests/acceptance/features/bootstrap/UsersSettingsContext.php @@ -63,7 +63,7 @@ class UsersSettingsContext implements Context, ActorAwareInterface { * @return Locator */ public static function createNewUserButton() { - return Locator::forThe()->xpath("//form[@id = 'newuser']//input[@type = 'submit']")-> + return Locator::forThe()->xpath("//form[@id = 'new-user']//input[@type = 'submit']")-> describedAs("Create user button in Users Settings"); }