Browse Source

fix(nc-gui): source erd test fail issue

pull/9173/head
Ramesh Mane 4 months ago
parent
commit
0fb4c4878d
  1. 2
      packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue
  2. 2
      packages/nocodb-sdk/src/lib/Api.ts
  3. 5
      tests/playwright/pages/Dashboard/ProjectView/DataSourcePage.ts

2
packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

@ -739,7 +739,7 @@ async function openAudit(source: SourceType) {
v-e="['c:source:toggle-expand']"
class="!mx-0 !px-0 nc-sidebar-source-node"
:class="[{ hidden: searchActive && !!filterQuery }]"
expand-icon-position="left"
expand-icon-position="right"
:bordered="false"
ghost
>

2
packages/nocodb-sdk/src/lib/Api.ts

@ -10605,6 +10605,7 @@ export class Api<
defaultLimit?: number,
ncMin?: boolean,
teleEnabled?: boolean,
errorReportingEnabled?: boolean,
auditEnabled?: boolean,
ncSiteUrl?: string,
ee?: boolean,
@ -10636,6 +10637,7 @@ export class Api<
defaultLimit?: number;
ncMin?: boolean;
teleEnabled?: boolean;
errorReportingEnabled?: boolean;
auditEnabled?: boolean;
ncSiteUrl?: string;
ee?: boolean;

5
tests/playwright/pages/Dashboard/ProjectView/DataSourcePage.ts

@ -71,10 +71,9 @@ export class DataSourcePage extends BasePage {
await row.click();
await this.getDsDetailsModal().waitFor({ state: 'visible' });
// kludge: only in testing it's not rendering all tables
await this.getDsDetailsModal().getByTestId('nc-acl-tab').click();
await this.getDsDetailsModal().getByTestId('nc-erd-tab').click();
// await row.getByTestId('nc-data-sources-view-erd').click();
}
async openAudit({ rowIndex }: { rowIndex: number }) {

Loading…
Cancel
Save