Skip to content

Commit 310836b

Browse files
Rohit0301SaaiAravindhRaja
authored andcommitted
Fixed data Assest lineage spec (#27671)
1 parent 9947a56 commit 310836b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Lineage/DataAssetLineage.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ test.describe('Column Level Lineage', () => {
291291

292292
entityKeys.forEach((targetKey) => {
293293
test(`Column lineage for ${key} -> ${targetKey}`, async ({ page }) => {
294+
test.slow();
294295
const targetEntity = entities.get(targetKey) as EntityClassUnion;
295296
const { apiContext, afterAction } = await getApiContext(page);
296297

openmetadata-ui/src/main/resources/ui/playwright/utils/lineage.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@ export const applyPipelineFromModal = async (
511511
);
512512

513513
await clickEdgeBetweenNodes(page, fromNode, toNode);
514-
await page.getByTestId('add-pipeline').click();
514+
const addPipelineBtn = page.getByTestId('add-pipeline');
515+
await addPipelineBtn.waitFor({ state: 'visible' });
516+
await addPipelineBtn.dispatchEvent('click');
515517

516518
const waitForSearchResponse = page.waitForResponse(
517519
`/api/v1/search/query?q=*`

0 commit comments

Comments
 (0)