From e73d5e4d4fea89d42727e4e80dc40f32251a2d49 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Tue, 19 Sep 2023 07:45:21 +0000 Subject: [PATCH] fix: Account page object signout issue fixed --- tests/playwright/pages/Account/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/Account/index.ts b/tests/playwright/pages/Account/index.ts index 8389cae1d9..01e404d0ef 100644 --- a/tests/playwright/pages/Account/index.ts +++ b/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(); } }