Skip to content

test(web-smoke): pin Home empty-fleet state in usage-strip SC-009 tests - #1573

Merged
Dumbris merged 2 commits into
mainfrom
fix/home-strip-smoke-empty-fleet
Oct 12, 2026
Merged

Dumbris merged 2 commits into
mainfrom
fix/home-strip-smoke-empty-fleet

Conversation

@Dumbris

@Dumbris Dumbris commented Oct 11, 2026

Copy link
Copy Markdown
Member

Summary

./scripts/run-web-smoke.sh without MCPPROXY_FIXTURE_PATH failed 3 tests: the navigation-consistency.spec.ts:397 "Home strip usage-strip-{calls,blocked,errors}" SC-009 tests each timed out waiting for the Home usage strip.

Root cause: the test, not the strip. Without a fixture path the smoke fleet is empty. Since #1467 (fix-ux-residuals), Home shows the "Get started" card on an instance with no servers and hides the usage strip by design (Home.vue:47, showGettingStarted). Tool-call history plays no part: the strip renders with zero counts whenever servers exist.

Fix: the tests now wait for either the strip link or the Get started card. In the empty state they assert that no usage-strip-* link is rendered and skip, matching the sweep's other server-dependent checks. The absence check targets the child links because Vue attribute fallthrough replaces the strip root's data-test with Home's home-usage-strip-* (found in cross-review).

Verification (rebuilt with make build, scratch ports 18896/18897)

  • Empty fleet (the reported repro): 49 passed, 73 skipped, 0 failed (was 3 failed).
  • With MCPPROXY_FIXTURE_PATH (CI config): all 3 strip tests pass. The strip itself works.
  • Fixture mode shows 3 failures that also occur without this change and are unrelated: profiles-scope.spec.ts:231 (activity table overflows by 34px at 1100px) and visual-a11y-sweep.spec.ts:663 /clients corporate+dark (the orphan chip now reads "Locked … locked by credential" instead of "missing"). They are not addressed here.

Reviewed by opencode gpt-6.1-sol: round 1 found the fallthrough issue, now fixed; round 2 returned CLEAN.

🤖 Generated with Claude Code

On an empty fleet (run-web-smoke.sh without MCPPROXY_FIXTURE_PATH) Home
shows the Get started card and hides the usage strip by design (#1467),
so the three Home strip tests timed out waiting for it. Wait for either
anchor; on the empty state assert the strip is absent and skip.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 46ce70e
Status: ✅  Deploy successful!
Preview URL: https://a71d688e.mcpproxy-docs.pages.dev
Branch Preview URL: https://fix-home-strip-smoke-empty-f.mcpproxy-docs.pages.dev

View logs

@github-actions

Copy link
Copy Markdown
Contributor

📦 Build Artifacts

Workflow Run: View Run
Branch: fix/home-strip-smoke-empty-fleet

Available Artifacts

  • archive-darwin-amd64 (31 MB)
  • archive-darwin-arm64 (28 MB)
  • archive-linux-amd64 (19 MB)
  • archive-linux-arm64 (17 MB)
  • archive-windows-amd64 (31 MB)
  • archive-windows-arm64 (27 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (27 MB)
  • installer-dmg-darwin-arm64 (24 MB)
  • smart-mcp-proxymcpproxy-goIPBSH3.dockerbuild (0 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 38119280472 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Dumbris
Dumbris merged commit d541e72 into main Oct 12, 2026
43 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