Skip to content

test(react-ui): cover models gallery empty-state reset flow#10019

Merged
mudler merged 1 commit into
mudler:masterfrom
shihyunhuang:refactor/models-gallery-empty-state-test
May 29, 2026
Merged

test(react-ui): cover models gallery empty-state reset flow#10019
mudler merged 1 commit into
mudler:masterfrom
shihyunhuang:refactor/models-gallery-empty-state-test

Conversation

@Oceankj
Copy link
Copy Markdown
Contributor

@Oceankj Oceankj commented May 26, 2026

Exercise the filtered empty-state path in the models gallery and verify that the clear-filters action restores the list and resets the filter selection.

Assisted-by: Codex:gpt-5
Signed-off-by: Oceankj 0980124jim@gmail.com

Description
This PR adds React UI E2E coverage for the models gallery empty-state reset flow.

Specifically, it exercises the filtered empty-state path and verifies that:

  • applying a filter can show the empty state when no models match
  • the "Clear filters" action restores the gallery results
  • the filter selection is reset back to the default "All" state

Notes for Reviewers

How to test :
From the repository root:

npm --prefix core/http/react-ui run test:e2e -- e2e/models-gallery.spec.js

Signed commits

  • Yes, I signed my commits.

@Oceankj Oceankj force-pushed the refactor/models-gallery-empty-state-test branch 2 times, most recently from 65eaa63 to 7dcfefc Compare May 26, 2026 23:05
Exercise the filtered empty-state path in the models gallery and verify
that the clear-filters action restores the list and resets the filter
selection.

Assisted-by: Codex:gpt-5

Signed-off-by: Ching Kao <0980124jim@gmail.com>
@Oceankj Oceankj force-pushed the refactor/models-gallery-empty-state-test branch from 7dcfefc to 79ff221 Compare May 28, 2026 22:38
@mudler mudler enabled auto-merge (squash) May 29, 2026 10:31
@mudler mudler merged commit a473a32 into mudler:master May 29, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants