fix(tests): Wait dialog elements to be clickable.

To avoid trying to click too quickly while animations are still rendered. Avoids: Can't call elementClick on element with selector "//input[@name="lockKey"]" because element wasn't found
This commit is contained in:
damencho
2025-10-16 09:44:37 -05:00
committed by Дамян Минков
parent b40c24db70
commit eb188ff02a

View File

@@ -40,6 +40,7 @@ export default class PasswordDialog extends BaseDialog {
const passwordInput = this.participant.driver.$(INPUT_KEY_XPATH);
await passwordInput.waitForExist();
await passwordInput.waitForClickable();
await passwordInput.click();
await passwordInput.clearValue();