test: enhance lineage spec to cover all the missing cases#26796
test: enhance lineage spec to cover all the missing cases#26796chirag-madlani wants to merge 26 commits intofix-column-filteringfrom
Conversation
| SearchIndex: 'searchIndex', | ||
| ApiEndpoint: 'apiEndpoint', | ||
| Metric: 'metric', | ||
| ['Store Procedure']: 'storedProcedure', |
There was a problem hiding this comment.
⚠️ Bug: Typo 'Store Procedure' should be 'Stored Procedure'
The search index mapping key ['Store Procedure'] is missing the 'd'. The rest of the codebase (e.g., importUtils.ts, class names) consistently uses 'Stored Procedure'. This mismatch will cause entity type lookups to fail for stored procedures, as getEntityTypeSearchIndexMapping('Stored Procedure') will return undefined.
Suggested fix:
Change:
['Store Procedure']: 'storedProcedure',
To:
['Stored Procedure']: 'storedProcedure',
Was this helpful? React with 👍 / 👎 | Reply gitar fix to apply this suggestion
🔴 Playwright Results — 15 failure(s), 27 flaky✅ 3493 passed · ❌ 15 failed · 🟡 27 flaky · ⏭️ 208 skipped
Genuine Failures (failed on all attempts)❌
|
openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Lineagev1.spec.ts
Outdated
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Lineagev1.spec.ts
Outdated
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Lineagev1.spec.ts
Outdated
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Lineagev1.spec.ts
Outdated
Show resolved
Hide resolved
Code Review
|
| Compact |
|
Was this helpful? React with 👍 / 👎 | Gitar
|
|



Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
Lineagev1.spec.tswith 30+ test cases covering lineage creation, filtering, and interactions across 15+ entity typesgetDefaultAdminAPIContexthelper for API context initializationgetEntityTypeSearchIndexMappingto support 5 new entity types (Directory, File, Spreadsheet, Worksheet, StoredProcedure)verifyExportLineageCSVto accept generic entity arrayspatchmethod inMetricClassfor entity metadata updatesplaywright.config.tsto filter and run lineage-specific testsThis will update automatically on new commits.