diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-11-03 19:50:20 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-11-03 19:50:20 +0300 |
commit | 68a6846924399f7ff93ef8ad9ae14fb166efe2c4 (patch) | |
tree | 7b08b1a3c10723682df6a0dc8a38a291a70be3a2 /test/selenium/ChangePasswordTest.php | |
parent | f820e2a970dbc857957aff56fbea19cfecbbd58e (diff) |
Fix ChangePasswordTest failing Selenium test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
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.', |