Browse Source

fix(nc-gui): Fixed shared base editor issue

pull/6622/head
Muhammed Mustafa 9 months ago
parent
commit
48fb3c0804
  1. 2
      tests/playwright/tests/db/features/baseShare.spec.ts

2
tests/playwright/tests/db/features/baseShare.spec.ts

@ -67,6 +67,7 @@ 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);
@ -94,6 +95,7 @@ test.describe('Shared base', () => {
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 });

Loading…
Cancel
Save