mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 04:45:07 +00:00
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:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user