mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-02 02:47:29 +00:00
@@ -16,9 +16,11 @@ watch(
|
||||
(viewId) => {
|
||||
/** wait until table list loads since meta load requires table list **/
|
||||
until(tables)
|
||||
.toMatch((tables) => tables.length > 0)
|
||||
.toMatch((tables) => {
|
||||
return tables.length > 0
|
||||
})
|
||||
.then(() => {
|
||||
getMeta(route.params.baseId as string, viewId as string, undefined, undefined, undefined, true)
|
||||
getMeta(baseStore.baseId as string, viewId as string, undefined, undefined, undefined, true)
|
||||
})
|
||||
},
|
||||
{ immediate: true },
|
||||
|
||||
@@ -241,11 +241,7 @@ export class ExpandedFormPage extends BasePage {
|
||||
await expect(this.rootPage.getByTestId('nc-expanded-form-duplicate')).toBeVisible();
|
||||
await expect(this.rootPage.getByTestId('nc-expanded-form-delete')).toBeVisible();
|
||||
} else {
|
||||
if (!isEE()) {
|
||||
await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toBeVisible();
|
||||
} else {
|
||||
await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toHaveCount(0);
|
||||
}
|
||||
await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toHaveCount(0);
|
||||
await expect(this.rootPage.getByTestId('nc-expanded-form-duplicate')).toHaveCount(0);
|
||||
await expect(this.rootPage.getByTestId('nc-expanded-form-delete')).toHaveCount(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user