mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 19:16:41 +00:00
fix(nc-gui): Fixed test for data sources page and minor UI change
This commit is contained in:
@@ -39,7 +39,7 @@ export class DataSourcePage extends BasePage {
|
||||
const row = this.get()
|
||||
.locator('.ds-table-row')
|
||||
.nth(rowIndex + 1);
|
||||
await row.locator('button.nc-action-btn:has-text("Sync Metadata")').click();
|
||||
await row.getByTestId('nc-data-sources-view-meta-sync').click();
|
||||
}
|
||||
|
||||
async openERD({ rowIndex }: { rowIndex: number }) {
|
||||
@@ -47,7 +47,7 @@ export class DataSourcePage extends BasePage {
|
||||
const row = this.get()
|
||||
.locator('.ds-table-row')
|
||||
.nth(rowIndex + 1);
|
||||
await row.locator('button.nc-action-btn:has-text("Relations")').click();
|
||||
await row.getByTestId('nc-data-sources-view-erd').click();
|
||||
}
|
||||
|
||||
async openAudit({ rowIndex }: { rowIndex: number }) {
|
||||
|
||||
Reference in New Issue
Block a user