mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 19:06:39 +00:00
feat(testing): Reduced flakyness
This commit is contained in:
@@ -16,7 +16,10 @@ export class MetaDataPage extends BasePage {
|
||||
|
||||
async clickReload(){
|
||||
await this.get().locator(`button:has-text("Reload")`).click();
|
||||
await this.get().locator(`.animate-spin`).waitFor({state: 'visible'});
|
||||
|
||||
// todo: Remove this wait
|
||||
await this.rootPage.waitForTimeout(100);
|
||||
// await this.get().locator(`.animate-spin`).waitFor({state: 'visible'});
|
||||
await this.get().locator(`.animate-spin`).waitFor({state: 'detached'});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user