mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 20:46:44 +00:00
chore(test): replace uiAction with a callback to trigger it only after initializing network watcher
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -65,7 +65,7 @@ export class ImportTemplatePage extends BasePage {
|
||||
await this.waitForResponse({
|
||||
requestUrlPathToMatch: '/api/v1/db/data/noco/',
|
||||
httpMethodsToMatch: ['GET'],
|
||||
uiAction: this.get().locator('button:has-text("Import"):visible').click(),
|
||||
uiAction: () => this.get().locator('button:has-text("Import"):visible').click(),
|
||||
});
|
||||
await this.dashboard.waitForTabRender({
|
||||
title: tblList[0],
|
||||
|
||||
Reference in New Issue
Block a user