-
Notifications
You must be signed in to change notification settings - Fork 462
A few more component tests for model-details #5475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adds coverage for the model-details view (model variants + training datasets) and centralizes model-architectures MSW mocking for UI tests.
Changes:
- Introduces a new
model-details.spec.tssuite covering variants and training dataset states. - Moves
/api/model_architecturesmocking into the shared Playwright fixtures (removing per-spec duplication). - Improves tab accessibility selectors by adding
aria-labels to model variant tabs.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| application/ui/tests/models/models.spec.ts | Removes model-architectures mocking from this spec and slightly renames a test. |
| application/ui/tests/models/model-details.spec.ts | Adds new component/e2e-like tests for model details: variants + training datasets. |
| application/ui/tests/jobs/jobs.spec.ts | Removes model-architectures mocking from this spec. |
| application/ui/tests/fixtures.ts | Centralizes /api/model_architectures MSW handler for all UI tests. |
| application/ui/src/features/models/model-listing/model-variants/model-variant-tabs.component.tsx | Adds aria-label to icon-only variant tabs to support accessible queries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...ication/ui/src/features/models/model-listing/model-variants/model-variant-tabs.component.tsx
Show resolved
Hide resolved
📊 Test coverage report
|
Docker Image SizesCPU
GPU
XPU
|
Summary
How to test
Checklist