mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-07 13:07:22 +00:00
fix lineage tests (#18618)
This commit is contained in:
parent
30ee4fafb5
commit
7cba2a7f51
@ -357,7 +357,7 @@ test('Verify function data in edge drawer', async ({ browser }) => {
|
||||
|
||||
await page.locator('.edge-info-drawer').isVisible();
|
||||
|
||||
await expect(await page.locator('[data-testid="Function"]')).toContainText(
|
||||
await expect(page.locator('[data-testid="Function"]')).toContainText(
|
||||
'count'
|
||||
);
|
||||
} finally {
|
||||
@ -385,13 +385,6 @@ test('Verify global lineage config', async ({ browser }) => {
|
||||
await addPipelineBetweenNodes(page, topic, dashboard);
|
||||
await addPipelineBetweenNodes(page, dashboard, mlModel);
|
||||
|
||||
await topic.visitEntityPage(page);
|
||||
await visitLineageTab(page);
|
||||
|
||||
await verifyNodePresent(page, table);
|
||||
await verifyNodePresent(page, dashboard);
|
||||
await verifyNodePresent(page, mlModel);
|
||||
|
||||
await settingClick(page, GlobalSettingOptions.LINEAGE_CONFIG);
|
||||
await fillLineageConfigForm(page, {
|
||||
upstreamDepth: 1,
|
||||
@ -420,6 +413,13 @@ test('Verify global lineage config', async ({ browser }) => {
|
||||
downstreamDepth: 2,
|
||||
layer: 'Entity Lineage',
|
||||
});
|
||||
|
||||
await topic.visitEntityPage(page);
|
||||
await visitLineageTab(page);
|
||||
|
||||
await verifyNodePresent(page, table);
|
||||
await verifyNodePresent(page, dashboard);
|
||||
await verifyNodePresent(page, mlModel);
|
||||
} finally {
|
||||
await table.delete(apiContext);
|
||||
await topic.delete(apiContext);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user