Skip to content

Documentation

Extensions Tests — Control Map

Coverage for /config/extensions: admin gate, tabs, plugins grid.

8/4/2026
1 min read Edit on GitHub
On this page

Surface

Piece Role
+page.server.ts Admin via locals.isAdmin; plugin registry
+page.svelte Plugins / Widgets / Themes / Marketplace tabs
plugins-view.svelte Toggle enable (CSRF + toast)
marketplace-view.svelte In-app catalog: search, type filter (incl. dashboard), license/price badges

Plugin and widget catalogs vary by install. The Marketplace tab merges local listings (themes + dashboard widget packages) with the remote catalog offline-first via GET /api/marketplace.

Control → test matrix

Control Unit E2E
Admin gate
Four tabs + panels
Plugins grid / empty
Marketplace type filter incl. dashboard
Dashboard widget cards (license/price)

Run

bun run test:unit -- tests/unit/routes/extensions-page-server.test.ts
bun x playwright test tests/e2e/routes/config/extensions.spec.ts
testinge2eextensions
Was this page helpful?