Skip to content

Conversation

@jpggvilaca
Copy link
Contributor

Summary

How to test

Checklist

  • The PR title and description are clear and descriptive
  • I have manually tested the changes
  • All changes are covered by automated tests
  • All related issues are linked to this PR (if applicable)
  • Documentation has been updated (if applicable)

@jpggvilaca jpggvilaca requested a review from a team as a code owner February 9, 2026 13:42
@jpggvilaca jpggvilaca added the Geti Tune UI Issues related to Geti Tune UI label Feb 9, 2026
Copilot AI review requested due to automatic review settings February 9, 2026 13:42
@github-actions github-actions bot added the TEST Any changes in tests label Feb 9, 2026
Copy link
Contributor

Copilot AI left a 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.ts suite covering variants and training dataset states.
  • Moves /api/model_architectures mocking 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.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

📊 Test coverage report

Metric Coverage
Lines 34.7%
Functions 74.1%
Branches 88.3%
Statements 34.7%

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Docker Image Sizes

CPU

Image Size
geti-tune-cpu:pr-5475 2.97G
geti-tune-cpu:sha-0c92229 2.97G

GPU

Image Size
geti-tune-gpu:pr-5475 10.95G
geti-tune-gpu:sha-0c92229 10.95G

XPU

Image Size
geti-tune-xpu:pr-5475 9.76G
geti-tune-xpu:sha-0c92229 9.76G

@jpggvilaca jpggvilaca added this pull request to the merge queue Feb 10, 2026
Merged via the queue into develop with commit 574e55e Feb 10, 2026
31 checks passed
@jpggvilaca jpggvilaca deleted the jvilaca/more-component-tests branch February 10, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Geti Tune UI Issues related to Geti Tune UI TEST Any changes in tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants