Skip to content

test(frontend): migrate Studio catalog tests by risk - #3104

Open
AbigailDeng wants to merge 2 commits into
devfrom
codex/issue-3100-test-frontend-audit-existing-suite-against-the-risk-based-testi
Open

test(frontend): migrate Studio catalog tests by risk#3104
AbigailDeng wants to merge 2 commits into
devfrom
codex/issue-3100-test-frontend-audit-existing-suite-against-the-risk-based-testi

Conversation

@AbigailDeng

@AbigailDeng AbigailDeng commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • record review outcomes for all 38 frontend test files above 300 lines and classify the five priority suites by behavior, risk, and highest-value test layer
  • replace a mock-call-only Studio bootstrap case with route integration evidence that discovered GAgent kinds reach the real Build panel and published workflow/service/revision identity reaches the Team member rail
  • add a focused real-component interaction proving the operator-selected GAgent kind is retained in the Build-to-Bind handoff
  • consolidate workflow, Script, and GAgent service-revision fixtures for later behavior-domain extraction without duplicating the oversized route setup
  • document residual browser, SSE, OAuth, responsive-layout, and projection-timing gaps without changing production behavior

Impact

  • apps/aevatar-console-web/docs/2026-07-31-frontend-test-suite-risk-audit.md
  • apps/aevatar-console-web/src/pages/studio/index.test.tsx
  • apps/aevatar-console-web/src/pages/studio/components/StudioBuildPanels.test.tsx
  • apps/aevatar-console-web/tests/studioServiceCatalogFixtures.ts
  • no production behavior or runtime bundle changes

Verification

  • pnpm --dir apps/aevatar-console-web exec jest --runInBand --runTestsByPath src/pages/studio/index.test.tsx src/pages/studio/components/StudioBuildPanels.test.tsx --testNamePattern 'shows the standalone GAgent definition fields inside Build|renders published revision identity for each service in the initial Studio rail|hands the operator-selected GAgent kind from Build to Bind': passed (3 focused cases in 2 files)
  • pnpm --dir apps/aevatar-console-web tsc: passed
  • pnpm --dir apps/aevatar-console-web exec biome lint src/pages/studio/index.test.tsx src/pages/studio/components/StudioBuildPanels.test.tsx tests/studioServiceCatalogFixtures.ts: passed with 3 pre-existing warnings and no errors
  • bash tools/ci/test_stability_guards.sh: passed
  • bash tools/docs/lint.sh: passed (83 files, 0 errors)
  • frontend audit inventory guard: passed (38 oversized files recorded, 0 missing)
  • git diff --check: passed
  • the complete frontend suite, integration tests, browser end-to-end tests, and smoke tests were not run under the incremental test policy

Risks

  • OAuth redirects, native browser history and leave prompts, pointer/responsive layout, real SSE and multipart transport, deployed routing, and production projection timing remain explicitly recorded browser or integration gaps

Closes #3100

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.34%. Comparing base (2fbf3c4) to head (ba93eeb).
⚠️ Report is 5 commits behind head on dev.

@@            Coverage Diff             @@
##              dev    #3104      +/-   ##
==========================================
- Coverage   84.34%   84.34%   -0.01%     
==========================================
  Files        1455     1455              
  Lines      127991   127991              
  Branches    15956    15956              
==========================================
- Hits       107954   107948       -6     
- Misses      12740    12745       +5     
- Partials     7297     7298       +1     
Flag Coverage Δ
ci 84.34% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AbigailDeng AbigailDeng changed the title test(frontend): audit suite by regression risk test(frontend): migrate Studio catalog tests by risk Jul 31, 2026
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.

test(frontend): audit existing suite against the risk-based testing policy

1 participant