mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-03 21:03:48 +00:00
fix tests
This commit is contained in:
parent
3b55bff46b
commit
8cd8725c35
@ -326,7 +326,6 @@ test.describe('Domains', () => {
|
||||
const dataProduct1 = new DataProduct([domain]);
|
||||
await domain.create(apiContext);
|
||||
await sidebarClick(page, SidebarItem.DOMAIN);
|
||||
await page.reload();
|
||||
|
||||
await test.step(
|
||||
'Create DataProduct and custom properties for it',
|
||||
@ -997,7 +996,9 @@ test.describe('Domains Rbac', () => {
|
||||
);
|
||||
|
||||
const assetData = userPage.waitForResponse(
|
||||
`/api/v1/permissions/${ENTITY_PATH[asset.endpoint as keyof typeof ENTITY_PATH]}/name/${fqn}*`
|
||||
`/api/v1/permissions/${
|
||||
ENTITY_PATH[asset.endpoint as keyof typeof ENTITY_PATH]
|
||||
}/name/${fqn}*`
|
||||
);
|
||||
await userPage.goto(
|
||||
`/${ENTITY_PATH[asset.endpoint as keyof typeof ENTITY_PATH]}/${fqn}`
|
||||
|
@ -135,9 +135,11 @@ export const selectDomain = async (page: Page, domain: Domain['data']) => {
|
||||
state: 'detached',
|
||||
});
|
||||
|
||||
const domainApiRes = page.waitForResponse('/api/v1/domains/name/*');
|
||||
|
||||
await page.getByRole('row', { name: domain.displayName }).click();
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
await domainApiRes;
|
||||
|
||||
await page.waitForSelector('[data-testid="loader"]', {
|
||||
state: 'detached',
|
||||
|
Loading…
x
Reference in New Issue
Block a user