Skip to content

Commit a4931ab

Browse files
Fix Change Password Flaky Test (#245443)
Closes: #241763 ## Summary Attempt to fix the flaky test for changing a user's password. Changed the click that submits to form the `clickWhenNotDisabled` Co-authored-by: Elena Shostak <[email protected]>
1 parent 2bb238c commit a4931ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/platform/test/functional/page_objects/account_settings_page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class AccountSettingsPageObject extends FtrService {
3838
await confirmPasswordInput.clearValue();
3939
await confirmPasswordInput.type(newPassword);
4040

41-
await this.testSubjects.click('changePasswordFormSubmitButton');
41+
await this.testSubjects.clickWhenNotDisabled('changePasswordFormSubmitButton');
4242

4343
const toast = await this.testSubjects.find('euiToastHeader', 20000);
4444
const title = await toast.getVisibleText();

0 commit comments

Comments
 (0)