TenantAtlas/apps/platform/tests/Feature/Workspaces
ahmido 3bdd27f747
Some checks failed
Main Confidence / confidence (push) Failing after 43s
feat: finalize global shell context contract (#246)
## Summary
- consolidate workspace and tenant shell resolution behind a canonical resolved shell context
- align workspace switching, tenant selection, and tenant clearing with the new recovery and fallback rules
- add focused Pest coverage for shell resolution and update root dev orchestration so platform Vite starts correctly from repo-root commands

## Testing
- cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Monitoring/HeaderContextBarTest.php
- cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Workspaces/GlobalContextShellContractTest.php
- manual integrated-browser smoke for tenant-bound shell actions and context recovery flows
- validated corepack pnpm build:platform, corepack pnpm dev:platform, corepack pnpm dev:website, and corepack pnpm dev

## Notes
- Livewire v4 / Filament v5 remain unchanged and provider registration stays in bootstrap/providers.php
- no new globally searchable resources or destructive Filament actions were introduced

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #246
2026-04-18 14:00:49 +00:00
..
ChooseTenantPageTest.php feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
ChooseWorkspacePageTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
ChooseWorkspaceRedirectsToChooseTenantTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
CreateWorkspaceCreatesMembershipTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
EnsureWorkspaceSelectedMiddlewareTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
GlobalContextShellContractTest.php feat: finalize global shell context contract (#246) 2026-04-18 14:00:49 +00:00
ManagedTenantsLivewireUpdateTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
ManagedTenantsWorkspaceRoutingTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
SelectTenantControllerTest.php feat: finalize global shell context contract (#246) 2026-04-18 14:00:49 +00:00
Spec195ManagedTenantsLandingTest.php feat: close spec 195 action surface residuals (#230) 2026-04-13 07:47:58 +00:00
SwitchWorkspaceControllerTest.php feat: finalize global shell context contract (#246) 2026-04-18 14:00:49 +00:00
SwitchWorkspaceRedirectsToTenantRegistrationWhenNoTenantsTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
WorkspaceAuditTrailTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
WorkspaceIntendedUrlTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
WorkspaceNavigationHubTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
WorkspaceRedirectResolverTest.php feat: finalize global shell context contract (#246) 2026-04-18 14:00:49 +00:00
WorkspacesResourceIsTenantlessTest.php feat: finalize global shell context contract (#246) 2026-04-18 14:00:49 +00:00
WorkspaceSwitchUserMenuTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00