diff --git a/ingestion/examples/sample_data/datasets/tables.json b/ingestion/examples/sample_data/datasets/tables.json index b3a24419d2ea..7669bc8ec57e 100644 --- a/ingestion/examples/sample_data/datasets/tables.json +++ b/ingestion/examples/sample_data/datasets/tables.json @@ -1604,10 +1604,23 @@ }, { "name": "shipping_address", - "dataType": "ARRAY", - "arrayDataType": "STRUCT", - "dataTypeDisplay": "array>", - "tags": [] + "dataType": "ARRAY", + "arrayDataType": "STRUCT", + "dataTypeDisplay": "array>>", + "children": [ + { + "dataType": "STRING", + "dataTypeDisplay": "string", + "name": "type" + }, + { + "dataType": "ARRAY", + "arrayDataType": "INT", + "dataTypeDisplay": "array", + "name": "provider" + } + ], + "tags": [] }, { "name": "orders", diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Tags.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Tags.spec.ts index 597049a08118..d108e2a3b324 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Tags.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Tags.spec.ts @@ -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 @@ -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