Browse Source

test: license key wait kludge

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5977/head
Raju Udava 1 year ago
parent
commit
f150a7bf69
  1. 5
      tests/playwright/pages/Account/License.ts

5
tests/playwright/pages/Account/License.ts

@ -28,7 +28,10 @@ export class AccountLicensePage extends BasePage {
}
async saveLicenseKey(licenseKey: string) {
await this.get().waitFor({ state: 'visible' });
// Kludge: fix me!
// await this.get().waitFor({ state: 'visible' });
await this.rootPage.waitForTimeout(1000);
await this.get().fill(licenseKey);
await this.getSaveButton().click();
await this.verifyToast({ message: 'License key updated' });

Loading…
Cancel
Save