Browse Source

Merge pull request #9173 from nocodb/fix/pw-test-issue

fix: pw test fail issue
pull/9175/head
Ramesh Mane 4 months ago committed by GitHub
parent
commit
85bbeafb85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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']" v-e="['c:source:toggle-expand']"
class="!mx-0 !px-0 nc-sidebar-source-node" class="!mx-0 !px-0 nc-sidebar-source-node"
:class="[{ hidden: searchActive && !!filterQuery }]" :class="[{ hidden: searchActive && !!filterQuery }]"
expand-icon-position="left" expand-icon-position="right"
:bordered="false" :bordered="false"
ghost ghost
> >

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

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

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

@ -71,10 +71,9 @@ export class DataSourcePage extends BasePage {
await row.click(); 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 this.getDsDetailsModal().getByTestId('nc-erd-tab').click();
// await row.getByTestId('nc-data-sources-view-erd').click();
} }
async openAudit({ rowIndex }: { rowIndex: number }) { async openAudit({ rowIndex }: { rowIndex: number }) {

Loading…
Cancel
Save