Migrate FailedTestCaseSampleData table to core-ui Table component#27985
Migrate FailedTestCaseSampleData table to core-ui Table component#27985shah-harshit wants to merge 3 commits intomainfrom
Conversation
…mponent - Replace Ant Design Table with core-ui Table (react-aria-components) - Add border wrapper tw:border tw:border-border-secondary tw:rounded-[10px] - Add 210px min-width on data cells with horizontal scroll - Add 8px padding on header and data cells - Center diff-type column content vertically and horizontally - Move all styles from .less file to tw: classes using theme tokens - Delete failed-test-case-sample-data.less Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🟡 Playwright Results — all passed (12 flaky)✅ 4016 passed · ❌ 0 failed · 🟡 12 flaky · ⏭️ 86 skipped
🟡 12 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 |
Code Review ✅ Approved 1 resolved / 1 findingsMigrates FailedTestCaseSampleData to the core-ui Table component and adopts Tailwind utility classes. Refactor the hardcoded ✅ 1 resolved✅ Quality: Hardcoded border-radius value violates styling guidelines
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
| <span | ||
| className={classNames('tw:font-medium', { | ||
| 'tw:text-success-primary': |
There was a problem hiding this comment.
Can we use here Typography ?



Summary
Tablewith core-uiTable(react-aria-components) inFailedTestCaseSampleData.component.tsxtw:overflow-x-auto tw:border tw:border-border-secondary tw:rounded-[10px]with horizontal scroll supportfailed-test-case-sample-data.lesstotw:theme token classes — delete the.lessfile entirelytw:bg-success-primary,tw:bg-error-primary,tw:text-error-primary,tw:text-success-primary,tw:text-gray-500,tw:bg-gray-50,tw:border-r-gray-blue-100failed-sample-data-columnCSS class for e2e test selector compatibilityReference
https://github.com/open-metadata/openmetadata-collate/issues/3837
Test plan
yarn playwright:run --grep FailedTestCaseSampleData🤖 Generated with Claude Code