mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 11:26:48 +00:00
test: update audit tab opening steps
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -30,6 +30,15 @@ export class DataSourcesPage extends BasePage {
|
||||
await row.click();
|
||||
await this.get().getByTestId('nc-erd-tab').click();
|
||||
}
|
||||
|
||||
async openAudit({ rowIndex }: { rowIndex: number }) {
|
||||
const row = this.get()
|
||||
.locator('.ds-table-row')
|
||||
.nth(rowIndex + 1);
|
||||
await row.click();
|
||||
await this.get().getByTestId('nc-audit-tab').click();
|
||||
}
|
||||
|
||||
async openAcl({ dataSourceName = defaultBaseName }: { dataSourceName?: string } = {}) {
|
||||
await this.get().locator('.ds-table-row', { hasText: dataSourceName }).locator('button:has-text("UI ACL")').click();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user