TenantAtlas/apps/platform/tests/Browser
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
..
Dashboard feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
OpsUx fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
PortfolioCompare refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
Reviews Spec 326: productize customer review workspace (#386) 2026-05-18 13:30:38 +00:00
Support feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
.gitkeep Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OnboardingDraftRefreshTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
OnboardingDraftVerificationResumeTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
Spec172DeferredOperatorSurfacesSmokeTest.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
Spec174EvidenceFreshnessPublicationTrustSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec177InventoryCoverageTruthSmokeTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
Spec190BaselineCompareMatrixSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec192RecordPageHeaderDisciplineSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec193MonitoringSurfaceHierarchySmokeTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
Spec194GovernanceFrictionSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec198MonitoringPageStateSmokeTest.php Spec 329: productize evidence and audit log disclosure (#390) 2026-05-19 21:34:23 +00:00
Spec202GovernanceSubjectTaxonomySmokeTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
Spec265DecisionRegisterSmokeTest.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
Spec274BillingSubscriptionTruthSmokeTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
Spec276SupportAccessGovernanceSmokeTest.php PR: 276-support-access-governance → platform-dev (#332) 2026-05-05 21:54:26 +00:00
Spec277StoredReportsSurfaceSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec279ManagedEnvironmentCoreCutoverSmokeTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
Spec280WorkspaceTenancyEnvironmentRoutingSmokeTest.php feat: productize operations hub decision-first workbench (#389) 2026-05-19 00:49:13 +00:00
Spec281ProviderConnectionScopeSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec282GovernanceArtifactRetargetingSmokeTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
Spec283ProviderCapabilityRegistrySmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec284ArtifactSourceTaxonomySmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec285WorkspaceRbacEnvironmentAccessSmokeTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
Spec286EnvironmentCopyNeutralizationSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec299WorkspaceOverviewCutoverSealSmokeTest.php feat: finalize managed environment cutover seal (#354) 2026-05-13 20:33:30 +00:00
Spec300ManagedEnvironmentNamingConsolidationSmokeTest.php feat: productize operations hub decision-first workbench (#389) 2026-05-19 00:49:13 +00:00
Spec301InventoryNavigationCutoverSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec303AdminDirectoryGroupsCutoverSmokeTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
Spec314WorkspaceHubNavigationContextSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec316WorkspaceHubClearFilterSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec322AlertsAuditNoDriftSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec322EnvironmentOwnedSurfaceSmokeTest.php Spec 322: add browser no-drift regression guards (#379) 2026-05-17 11:34:31 +00:00
Spec322WorkspaceHubNoDriftSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec322WorkspaceOwnedAnalysisSmokeTest.php Spec 322: add browser no-drift regression guards (#379) 2026-05-17 11:34:31 +00:00
Spec326CustomerReviewWorkspaceProductizationSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec327GovernanceInboxProductizationSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec328OperationsHubProductizationSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec329EvidenceAuditDisclosureSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec330EnvironmentDashboardBaselineCompareSmokeTest.php feat: align baseline compare product process flow (#406) 2026-05-29 22:22:53 +00:00
Spec332RestoreRunWizardProductProcessFlowScreenshotsTest.php feat: finalize restore create ux productization (#403) 2026-05-28 22:04:32 +00:00
Spec332RestoreRunWizardProductProcessFlowSmokeTest.php feat: finalize restore create ux productization (#403) 2026-05-28 22:04:32 +00:00
Spec333RestoreCreateUxFinalProductizationSmokeTest.php feat: finalize restore create ux productization (#403) 2026-05-28 22:04:32 +00:00
Spec334NestedFilamentContextContractSmokeTest.php Spec 334: harden nested Filament Livewire context contract (#395) 2026-05-24 21:33:19 +00:00
Spec335RestoreRunDetailProductizationSmokeTest.php feat: productize restore run detail proof surface (#404) 2026-05-29 01:20:55 +00:00
Spec336BaselineCompareProductProcessFlowAlignmentSmokeTest.php feat: align baseline compare product process flow (#406) 2026-05-29 22:22:53 +00:00
Spec337EvidenceReviewPackProductFlowSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Spec338ScopeContractSmokeTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
TenantMembershipsPageTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00