Nc fix/progress meta sync (#10448)

* feat: progress panel component

* feat: meta sync progress support

* test: meta sync

---------

Co-authored-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
Raju Udava
2025-02-08 01:42:06 +05:30
committed by GitHub
parent 7e49564e3f
commit f5c49cf283
6 changed files with 246 additions and 94 deletions

View File

@@ -33,8 +33,9 @@ export class MetaDataPage extends BasePage {
async sync() {
await this.get().locator(`button:has-text("Sync Now")`).click();
await this.verifyToast({ message: 'Table metadata recreated successfully' });
await this.get().locator(`.animate-spin`).waitFor({ state: 'visible' });
await this.get().locator(`.animate-spin`).waitFor({ state: 'detached', timeout: 10000 });
// wait for clickability of the sync button
await this.get().locator(`.sync-completed`).waitFor({ state: 'visible' });
await this.get().locator(`.sync-completed`).click();
}
async verifyRow({ index, model, state }: { index: number; model: string; state: string }) {