From 98e6a00692bba4ef730bbceddf541e4530073645 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Sat, 19 Oct 2024 03:21:57 +0000 Subject: [PATCH] test: disable shared base editor test --- .../tests/db/features/baseShare.spec.ts | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/tests/playwright/tests/db/features/baseShare.spec.ts b/tests/playwright/tests/db/features/baseShare.spec.ts index a7426caa17..f2ca0bbf94 100644 --- a/tests/playwright/tests/db/features/baseShare.spec.ts +++ b/tests/playwright/tests/db/features/baseShare.spec.ts @@ -68,35 +68,35 @@ test.describe('Shared base', () => { let url = ''; // share button visible only if a table is opened await dashboard.treeView.openTable({ title: 'Country' }); - if (!isEE()) { - url = await dashboard.grid.topbar.getSharedBaseUrl({ role: 'editor', enableSharedBase: true }); - - await dashboard.rootPage.waitForTimeout(2000); - // access shared base link - await dashboard.signOut(); - await dashboard.rootPage.waitForTimeout(2000); - // todo: Move this to a page object - await dashboard.rootPage.goto(url); - - await roleTest('editor'); - - await loginPage.signIn({ - email: `user-${process.env.TEST_PARALLEL_INDEX}@nocodb.com`, - password: getDefaultPwd(), - withoutPrefix: true, - }); - - await dashboard.rootPage.waitForTimeout(1000); - - if (isEE()) { - await dashboard.grid.workspaceMenu.switchWorkspace({ - workspaceTitle: context.workspace.title, - }); - } - - await dashboard.treeView.openProject({ title: context.base.title, context }); - await dashboard.treeView.openTable({ title: 'Country' }); - } + // if (!isEE()) { + // url = await dashboard.grid.topbar.getSharedBaseUrl({ role: 'editor', enableSharedBase: true }); + // + // await dashboard.rootPage.waitForTimeout(2000); + // // access shared base link + // await dashboard.signOut(); + // await dashboard.rootPage.waitForTimeout(2000); + // // todo: Move this to a page object + // await dashboard.rootPage.goto(url); + // + // await roleTest('editor'); + // + // await loginPage.signIn({ + // email: `user-${process.env.TEST_PARALLEL_INDEX}@nocodb.com`, + // password: getDefaultPwd(), + // withoutPrefix: true, + // }); + // + // await dashboard.rootPage.waitForTimeout(1000); + // + // if (isEE()) { + // await dashboard.grid.workspaceMenu.switchWorkspace({ + // workspaceTitle: context.workspace.title, + // }); + // } + // + // await dashboard.treeView.openProject({ title: context.base.title, context }); + // await dashboard.treeView.openTable({ title: 'Country' }); + // } url = await dashboard.grid.topbar.getSharedBaseUrl({ role: 'viewer', enableSharedBase: false });