delay by 200ms after refresh

This commit is contained in:
Fendy Heryanto
2025-02-06 07:44:33 +00:00
parent a496ff84e4
commit 4ec4c56f3d

View File

@@ -103,6 +103,11 @@ export class TopbarPage extends BasePage {
await this.get().locator(`.nc-icon-reload`).waitFor({ state: 'visible' });
await this.get().locator(`.nc-icon-reload`).click();
await this.rootPage.waitForLoadState('networkidle');
await new Promise<void>(resolve => {
setTimeout(() => {
resolve();
}, 200);
});
}
async clickDownload(type: string, verificationFile = 'expectedData.txt') {