diff options
Diffstat (limited to 'test/selenium/ChangePasswordTest.php')
-rw-r--r-- | test/selenium/ChangePasswordTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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.', |