Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into GEN-1192
Browse files Browse the repository at this point in the history
  • Loading branch information
TeddyCr committed Sep 16, 2024
2 parents b92ef8a + 23c6aa3 commit abfc1c0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
21 changes: 17 additions & 4 deletions ingestion/examples/sample_data/datasets/tables.json
Original file line number Diff line number Diff line change
Expand Up @@ -1604,10 +1604,23 @@
},
{
"name": "shipping_address",
"dataType": "ARRAY",
"arrayDataType": "STRUCT",
"dataTypeDisplay": "array<struct<name:varchar(32),street_address:varchar(128), city:varchar(32),postcode:varchar(8)>>",
"tags": []
"dataType": "ARRAY",
"arrayDataType": "STRUCT",
"dataTypeDisplay": "array<struct<type:string,provider:array<int>>>",
"children": [
{
"dataType": "STRING",
"dataTypeDisplay": "string",
"name": "type"
},
{
"dataType": "ARRAY",
"arrayDataType": "INT",
"dataTypeDisplay": "array<int>",
"name": "provider"
}
],
"tags": []
},
{
"name": "orders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,14 @@ test('Classification Page', async ({ page }) => {
const getTags = page.waitForResponse('/api/v1/tags*');
await sidebarClick(page, SidebarItem.TAGS);
await getTags;
const classificationResponse = page.waitForResponse(
`/api/v1/tags?*parent=${encodeURIComponent(NEW_CLASSIFICATION.name)}*`
);
await page
.locator(`[data-testid="side-panel-classification"]`)
.filter({ hasText: NEW_CLASSIFICATION.displayName })
.click();
await classificationResponse;

await expect(page.locator('.activeCategory')).toContainText(
NEW_CLASSIFICATION.displayName
Expand All @@ -324,10 +328,14 @@ test('Classification Page', async ({ page }) => {
const getTags = page.waitForResponse('/api/v1/tags*');
await sidebarClick(page, SidebarItem.TAGS);
await getTags;
const classificationResponse = page.waitForResponse(
`/api/v1/tags?*parent=${encodeURIComponent(NEW_CLASSIFICATION.name)}*`
);
await page
.locator(`[data-testid="side-panel-classification"]`)
.filter({ hasText: NEW_CLASSIFICATION.displayName })
.click();
await classificationResponse;

await expect(page.locator('.activeCategory')).toContainText(
NEW_CLASSIFICATION.displayName
Expand Down

0 comments on commit abfc1c0

Please sign in to comment.