Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

test: pw issues

mertmit409468988d4e
diff --git a/tests/playwright/pages/Account/Users.ts b/tests/playwright/pages/Account/Users.ts
index 41ca2ebc3d..3fc2a26144 100644
--- a/tests/playwright/pages/Account/Users.ts
+++ b/tests/playwright/pages/Account/Users.ts
@@ -59,7 +59,7 @@ export class AccountUsersPage extends BasePage {
await this.inviteUserModal.waitFor({ state: 'visible' });
// http://localhost:3000/#/signup/a5e7bf3a-cbb0-46bc-87f7-c2ae21796707
- return (await this.inviteUserModal.locator(`.ant-alert-message`).innerText()).split('\n')[0];
+ return (await this.inviteUserModal.locator(`.nc-alert-message`).innerText()).split('\n')[0];
}
prefixEmail(email: string) {
diff --git a/tests/playwright/pages/Dashboard/Sidebar/ProjectNode/index.ts b/tests/playwright/pages/Dashboard/Sidebar/ProjectNode/index.ts
index 84bc6e18a7..d89e755d81 100644
--- a/tests/playwright/pages/Dashboard/Sidebar/ProjectNode/index.ts
+++ b/tests/playwright/pages/Dashboard/Sidebar/ProjectNode/index.ts
@@ -12,7 +12,7 @@ export class SidebarProjectNodeObject extends BasePage {
}
get({ baseTitle }: { baseTitle: string }) {
- return this.sidebar.get().getByTestId(`nc-sidebar-base-title-${baseTitle}`);
+ return this.sidebar.get().getByTestId(`nc-sidebar-base-title-${baseTitle}`).last();
}
async click({ baseTitle }: { baseTitle: string }) {