TenantAtlas/apps/platform/tests/Feature/ProviderConnections
ahmido e0c2cdb1f4 feat: enforce workspace and environment scope contract (Spec 338) (#409)
## Summary
- enforce the canonical workspace/environment scope contract for workspace hubs and environment-owned surfaces
- replace first-party Operations deep links that leaked Filament `tableFilters[...]` internals with stable product-level query behavior
- add the sidebar scope indicator and split environment-page navigation into explicit `Workspace-wide` and `Workspace admin` groups
- remove redundant tenantless `All environments` scope badges from workspace-wide pages while preserving explicit environment filter affordances
- include the Spec 338 artifacts, guard tests, and browser smoke coverage for the new contract

## Validation
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Navigation/Spec338EnvironmentSidebarSeparationTest.php tests/Feature/Navigation/Spec338OperationRunLinksQueryContractTest.php tests/Feature/Navigation/Spec338SidebarScopeIndicatorTest.php tests/Feature/Filament/PanelNavigationSegregationTest.php`
- `cd apps/platform && ./vendor/bin/sail php vendor/bin/pest tests/Browser/Spec338ScopeContractSmokeTest.php --compact`

## Notes
- Livewire v4 compliance unchanged
- Filament provider registration remains in `bootstrap/providers.php`
- no destructive action behavior changed
- no migrations, env var changes, or new Filament asset registration

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #409
2026-05-31 01:36:08 +00:00
..
AuthorizationSemanticsTest.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
CapabilityForbiddenTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
CredentialLeakGuardTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
DisabledActionsTooltipTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
LegacyRedirectTest.php Complete Spec 287 prerequisite cutover (#346) 2026-05-10 18:22:34 +00:00
ManageCapabilityEnforcementTest.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
MvpProviderScopeTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
NavigationPlacementTest.php fix: stabilize post-cutover suite baseline (#348) 2026-05-11 06:41:47 +00:00
ProviderComplianceSnapshotJobTest.php feat: normalize provider connection scope contracts (#339) 2026-05-07 19:28:42 +00:00
ProviderConnectionAuthorizationSpec081Test.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionAuthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionCutoverSpec081Test.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionDedicatedAuthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionDefaultInvariantSpec081Test.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionEnableDisableTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionHealthCheckJobTest.php feat: normalize provider connection scope contracts (#339) 2026-05-07 19:28:42 +00:00
ProviderConnectionHealthCheckStartSurfaceTest.php feat: implement spec 285 workspace-first environment access (#344) 2026-05-09 12:40:50 +00:00
ProviderConnectionListAuthorizationTest.php fix: stabilize post-cutover suite baseline (#348) 2026-05-11 06:41:47 +00:00
ProviderConnectionMigrationClassificationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionNeutralitySpec238Test.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
ProviderConnectionsWorkspaceHubContractTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
ProviderConnectionTruthCleanupSpec179Test.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionViewsDbOnlyRenderingSpec081Test.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
ProviderCredentialSecurityTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderDispatchGateStartSurfaceTest.php test: stabilize provider verification runtime semantics (#349) 2026-05-11 08:26:17 +00:00
ProviderGatewayRuntimeSmokeSpec081Test.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderOperationBlockedGuidanceSpec081Test.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
ProviderOperationConcurrencyTest.php test: stabilize provider verification runtime semantics (#349) 2026-05-11 08:26:17 +00:00
ProviderRbacCapabilitiesTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
RecordAccessNotFoundTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
RequiredFiltersTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantFilterOverrideTest.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
TenantlessListRouteTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TenantlessListScopingTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00