chore(ui): Revamp test suite details page#25139
Conversation
There was a problem hiding this comment.
Pull request overview
This PR revamps the test suite details page UI by restructuring the layout to improve consistency and visual organization. The description component is moved from page level into both the "Test Cases" and "Pipeline" tabs, metadata display is enhanced with a bordered container, and React hook dependencies are corrected.
Key Changes:
- Moved description component into tab content with card-style wrapping for consistent presentation
- Enhanced metadata header with bordered container styling and improved owner/domain labels
- Fixed React hook dependency arrays by removing stale
testOwnersreference and wrappingonDescriptionUpdatein useCallback
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| TestSuiteDetailsPage.component.tsx | Restructured component layout to move description into tabs, wrapped onDescriptionUpdate in useCallback, fixed dependency arrays for onUpdateOwner and handleDomainUpdate, and added responsive Grid layout with gutter spacing |
| test-suite-details-page.styles.less | Removed unused .test-suite-description styles, added .test-suite-header-metadata for bordered metadata container, added .test-suite-details-tabs for tab overflow handling, and added .test-suite-content-container for tab content styling with borders and padding |
Code Review 👍 Approved with suggestions 9 resolved / 10 findingsClean MUI migration with one prior minor finding still unresolved (missing E2E test cleanup for table data). The 💡 Quality: E2E test cleanup removed — test data leaked after run📄 openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/TestSuitePipelineRedeploy.spec.ts:39 The Most other E2E tests in this project (69 occurrences across 51 files) follow the pattern of cleaning up created resources in
Suggested fix✅ 9 resolved✅ Bug: waitForResponse uses literal
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
|



Describe your changes:
Fixes #23398
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
Row,Col,Tabs,Divider,Modal) with Material-UI v7 equivalents (Box,Stack,Tabs,Divider,Dialog)sxpropTest CasesandPipelinetabs withwrapInCardstylingrenderDescription()function to eliminate duplication across tabstestCasesTab,pipelineTab) instead of arraytheme.paletteandtheme.spacingsxprop styling for consistent themingonDescriptionUpdateinuseCallbackwith proper dependencies (testSuite,t)testOwnersreferencesactiveTabstate management for MUI Tabs componentThis will update automatically on new commits.