Browse Source

fix: Account page object signout issue fixed

pull/6376/head
Muhammed Mustafa 1 year ago
parent
commit
e73d5e4d4f
  1. 2
      tests/playwright/pages/Account/index.ts

2
tests/playwright/pages/Account/index.ts

@ -32,7 +32,7 @@ export class AccountPage extends BasePage {
async signOut() {
await this.openAppMenu();
await this.rootPage.locator('div.nc-project-menu-item:has-text("Sign Out"):visible').click();
await this.rootPage.locator('div.nc-account-dropdown-item:has-text("Sign Out"):visible').click();
await this.rootPage.locator('[data-testid="nc-form-signin"]:visible').waitFor();
}
}

Loading…
Cancel
Save