fix(playwright): expand nested columns before suggestion assertions#28059
Conversation
|
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
|
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
Code Review ✅ Approved 1 resolved / 1 findingsExports the ✅ 1 resolved✅ Quality: Duplicated expand-columns logic should be a shared helper
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
|
🟡 Playwright Results — all passed (13 flaky)✅ 3742 passed · ❌ 0 failed · 🟡 13 flaky · ⏭️ 79 skipped
🟡 13 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |



Describe your changes:
Summary
expandNestedColumnfromnestedColumnUpdatesUtils.ts(wasconst, not reachable)TagsSuggestion.spec.ts: expand struct + array columns before avatar click so all 9suggested-SuggestTagLabel-cardelements renderDescriptionSuggestion.spec.ts: same expansion at 3 points — before count check, before accepting a level-2 column suggestion, and afterpage.reload()to keep nested rows visible through remaining stepsRoot cause
PR #27959 changed nested columns to collapse by default. Both suggestion specs relied on implicit auto-expansion: the
toHaveCount(entityLinkColumnsName.length)assertion and[data-row-key*=columnsName[5]]locators fail when the parent struct/array rows are collapsed.Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Summary by Gitar
TestDefinitionForm.test.tsxto includesupportedDataTypesas a required field forOpenMetadatatests.supportedDataTypesvalidation error and updated existing suite to reflect the new requirement.This will update automatically on new commits.