Moved settings acceptance test batch 1 into Admin - #29367
Conversation
ref https://linear.app/ghost/issue/PLA-243 Settings already runs inside the Admin shell, so these contracts now exercise the production provider and routing stack against the shared fake API. The port also expands the batch from 16 legacy checks to 27 behavioral tests before the standalone suite is removed.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (18)
💤 Files with no reviewable changes (7)
WalkthroughReplaces removed Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run @tryghost/admin-x-settings:test:acceptance |
✅ Succeeded | 6m 54s | View ↗ |
nx run-many -t test:unit -p @tryghost/admin-x-s... |
✅ Succeeded | 4m 56s | View ↗ |
nx run ghost-admin:test |
✅ Succeeded | 2m 54s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 2m 19s | View ↗ |
nx run @tryghost/admin:test:acceptance |
✅ Succeeded | 1m 42s | View ↗ |
nx run ghost-monorepo:lint:boundaries |
✅ Succeeded | 19s | View ↗ |
nx run-many -t lint -p @tryghost/admin-x-settin... |
✅ Succeeded | 55s | View ↗ |
nx run @tryghost/activitypub:test:acceptance |
✅ Succeeded | 41s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | <1s | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-07-15 19:13:19 UTC
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29367 +/- ##
==========================================
- Coverage 74.01% 74.01% -0.01%
==========================================
Files 1578 1578
Lines 137508 137508
Branches 16648 16648
==========================================
- Hits 101772 101770 -2
- Misses 34691 34692 +1
- Partials 1045 1046 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

What changed
layout,routing,search,permissions,explore,network, andtips-and-donationssuites from the standalone Settings Playwright harness into Admin's Vitest Browser Mode acceptance tierWhy
Production Settings already runs inside
apps/admin. These contracts should exercise the production Admin provider and routing stack against the shared fake Admin API before the standalone Settings harness is removed.Follow-ups
These findings are deliberately not blockers for this migration batch:
$10000as$10,000utils/search.tsxregistration, visibility, and highlighting internalsValidation
pnpm exec vitest run -c vitest.acceptance.config.ts --silent=true src/settings/layout.acceptance.test.tsx src/settings/routing.acceptance.test.tsx src/settings/search.acceptance.test.tsx src/settings/permissions.acceptance.test.tsx src/settings/growth/explore.acceptance.test.tsx src/settings/growth/network.acceptance.test.tsx src/settings/growth/tips-and-donations.acceptance.test.tsx— 7 files, 27 tests passedpnpm nx run @tryghost/admin:typecheckpnpm nx run @tryghost/admin:lintpnpm nx run @tryghost/test-data:lintgit diff --checkref https://linear.app/ghost/issue/PLA-243