Skip to content
Open
Changes from 31 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e7422b0
added necessary changes to accomodate tempLineageTables nodes
Apr 24, 2026
7a9247d
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 24, 2026
db469d1
updated code as per comments from Gitar
Apr 24, 2026
23a11d7
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 24, 2026
7c7d3d8
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 26, 2026
bc42127
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
cf6f830
fixed lint issues
Apr 27, 2026
11e7ce5
worked up the comments from Chirag
Apr 27, 2026
47f09ab
worked up linting issues
Apr 27, 2026
9abaf1d
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
d6157d4
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
ce5e2bf
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
4ec1455
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
d4ba354
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
aa99f60
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
3bd28b6
fixed tc for nodeHeight
Apr 27, 2026
53f77b8
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
0b3f388
updated args for getEntityLineageCords
Apr 27, 2026
bccf3c1
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 27, 2026
c947c8d
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 28, 2026
7593646
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 28, 2026
6f8d421
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 28, 2026
0c327b3
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 28, 2026
792513f
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 28, 2026
6fd56be
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 28, 2026
952a590
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 29, 2026
0b4d555
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 29, 2026
fa92368
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 29, 2026
54eaf02
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 29, 2026
ad6cfae
added E2E test case to check if temp lineage table nodes are rendered
Apr 30, 2026
616d8c1
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 30, 2026
b741b64
updated code as per comments
Apr 30, 2026
91dbe78
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate Apr 30, 2026
409fbc1
fixed linting issue
Apr 30, 2026
5b44434
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate May 3, 2026
fafe4de
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate May 3, 2026
f1e9686
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate May 4, 2026
68e138a
removed extra line, failing UI checks
May 4, 2026
d578044
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate May 4, 2026
2348f40
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate May 4, 2026
708087e
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate May 4, 2026
5da13f0
Merge branch 'main' into feat/temp_lineage_table
satender-kumar-collate May 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@
import test, { expect } from '@playwright/test';
import { SidebarItem } from '../../constant/sidebar';
import { redirectToHomePage } from '../../utils/common';
import { waitForAllLoadersToDisappear } from '../../utils/entity';
import { sidebarClick } from '../../utils/sidebar';

const DESCRIPTION_SEARCH =
'The dimension table contains data about your customers. The customers table contains one row per customer. It includes historical metrics (such as the total amount that each customer has spent in your store) as well as forward-looking metrics (such as the predicted number of days between future orders and the expected order value in the next 30 days). This table also includes columns that segment customers into various categories (such as new, returning, promising, at risk, dormant, and loyal), which you can use to target marketing activities.The dimension table contains data about your customers. The customers table contains one row per customer. It includes historical metrics (such as the total amount that each customer has spent in your store) as well as forward-looking metrics (such as the predicted number of days between future orders and the expected order value in the next 30 days). This table also includes columns that segment customers into various categories (such as new, returning, promising, at risk, dormant, and loyal), which you can use to target marketing activities.';

const RAW_ORDER = 'raw_order';
const RAW_ORDER_FQN = 'sample_data.ecommerce_db.shopify.raw_order';
const TEMP_TABLE_NAMES = ['tmp_order_staging', 'tmp_order_enriched'];
Comment thread
gitar-bot[bot] marked this conversation as resolved.
Outdated

// use the admin user to login
test.use({ storageState: 'playwright/.auth/admin.json' });

Expand Down Expand Up @@ -63,3 +68,47 @@ test('searching for longer description should work', async ({ page }) => {

await expect(page.getByTestId('alert-bar')).not.toBeVisible();
});

test('check if temp lineage table nodes are rendered on canvas', async ({ page }) => {
Comment thread
satender-kumar-collate marked this conversation as resolved.
Outdated
await redirectToHomePage(page);

await sidebarClick(page, SidebarItem.EXPLORE);

await page.getByTestId('global-search-selector').click();
await page.getByTestId('global-search-select-option-Table').click();

await page
.getByTestId('navbar-search-container')
.getByTestId('searchBox')
.fill(RAW_ORDER);
Comment thread
satender-kumar-collate marked this conversation as resolved.
Outdated

await page.keyboard.press('Enter');

Comment thread
gitar-bot[bot] marked this conversation as resolved.
Outdated
await page.getByTestId('search-container').getByTestId('loader').waitFor({
state: 'detached',
});

await page.getByTestId('search-results').waitFor({ state: 'visible' });

await page
.getByTestId('search-results')
.getByTestId(`table-data-card_${RAW_ORDER_FQN}`)
.getByTestId('entity-link')
.click();

await page.waitForURL(`**/${RAW_ORDER_FQN}**`, {
waitUntil: 'domcontentloaded',
});
await waitForAllLoadersToDisappear(page);

const lineageRes = page.waitForResponse('/api/v1/lineage/getLineage?*');
await page.getByTestId('lineage').click();
await lineageRes;
await waitForAllLoadersToDisappear(page);

for (const tempTableName of TEMP_TABLE_NAMES) {
await expect(
page.getByTestId(`lineage-node-${tempTableName}`)
).toBeVisible();
}
});
Loading