Skip to content

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

test(pw): remove unwanted console from pw test

Ramesh Mane20f633c0d5e0
diff --git a/tests/playwright/pages/Dashboard/Kanban/index.ts b/tests/playwright/pages/Dashboard/Kanban/index.ts
index 96bbce1767..a08d3400d1 100644
--- a/tests/playwright/pages/Dashboard/Kanban/index.ts
+++ b/tests/playwright/pages/Dashboard/Kanban/index.ts
@@ -39,9 +39,6 @@ export class KanbanPage extends BasePage {
const fromCard = srcStack.locator(`.nc-kanban-item`).nth(from.card);
const toCard = dstStack.locator(`.nc-kanban-item`).nth(to.card);
- console.log(await fromCard.allTextContents());
- console.log(await toCard.allTextContents());
-
await fromCard.dragTo(toCard, {
force: true,
sourcePosition: { x: 10, y: 10 },
diff --git a/tests/playwright/pages/WorkspacePage/index.ts b/tests/playwright/pages/WorkspacePage/index.ts
index b65daba72b..bb6e21ea0d 100644
--- a/tests/playwright/pages/WorkspacePage/index.ts
+++ b/tests/playwright/pages/WorkspacePage/index.ts
@@ -177,8 +177,6 @@ export class WorkspacePage extends BasePage {
await this.rootPage.waitForTimeout(1000);
if (role === 'creator' || role === 'owner') {
- console.log(await this.container.get().count());
- console.log(await this.container.collaborators.count());
expect(await collaborators.isVisible()).toBeTruthy();
} else {
expect(await collaborators.isVisible()).toBeFalsy();
diff --git a/tests/playwright/tests/db/usersAccounts/rolesCreate.spec.ts b/tests/playwright/tests/db/usersAccounts/rolesCreate.spec.ts
index 34d6dd0b1f..8f06c1c8f7 100644
--- a/tests/playwright/tests/db/usersAccounts/rolesCreate.spec.ts
+++ b/tests/playwright/tests/db/usersAccounts/rolesCreate.spec.ts
@@ -38,11 +38,10 @@ test.describe.skip('User roles', () => {
for (let i = 0; i < roleDb.length; i++) {
await dashboard.baseView.btn_share.click();
- roleDb[i].url = await settings.teams.invite({
+ roleDb[i].url = await dashboard.settings.teams.invite({
email: roleDb[i].email,
role: roleDb[i].role,
});
- console.log(roleDb[i].url);
}
// Role test
diff --git a/tests/playwright/tests/db/views/viewForm.spec.ts b/tests/playwright/tests/db/views/viewForm.spec.ts
index fa9e6ab015..cc45681463 100644
--- a/tests/playwright/tests/db/views/viewForm.spec.ts
+++ b/tests/playwright/tests/db/views/viewForm.spec.ts
@@ -332,7 +332,6 @@ test.describe('Form view with LTAR', () => {
await dashboard.viewSidebar.createFormView({ title: 'NewForm' });
const formUrl = await dashboard.form.topbar.getSharedViewUrl();
- console.log(formUrl);
// sign-out
await dashboard.signOut();