From 68a6846924399f7ff93ef8ad9ae14fb166efe2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Wed, 3 Nov 2021 13:50:20 -0300 Subject: Fix ChangePasswordTest failing Selenium test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- test/selenium/ChangePasswordTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/selenium/ChangePasswordTest.php') diff --git a/test/selenium/ChangePasswordTest.php b/test/selenium/ChangePasswordTest.php index 00df4cbf04..dbb6125b81 100644 --- a/test/selenium/ChangePasswordTest.php +++ b/test/selenium/ChangePasswordTest.php @@ -80,7 +80,7 @@ class ChangePasswordTest extends TestBase $this->byId('nopass_1')->click(); } - $this->byXpath("//button[contains(., 'Go')]")->click(); + $this->byCssSelector('#change_password_dialog + div button')->click(); $ele = $this->waitForElement('cssSelector', '.alert-success'); $this->assertEquals( 'The profile has been updated.', -- cgit v1.2.3