TenantAtlas/apps/platform/tests/Browser
ahmido a3b21c48d8 test: add post-scope contract browser verification gate (340) (#411)
## Summary
- add the Spec 340 browser verification gate package for the post-338/339 workspace and environment scope contract
- add a bounded Pest browser smoke that verifies clean workspace origin, environment origin, explicit `environment_id` hub filtering, remembered-environment non-authority, and Provider Connections create/view/edit authority signals
- record the verification inventory, matrix, findings, checklist, and audit report under `specs/340-post-scope-contract-browser-verification-gate/`
- document a `GO` recommendation with no confirmed P1/P2 drift and one backlog wording follow-up
- keep the change verification-only with no runtime behavior, schema, or route-family changes

## Validation
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Browser/Spec340PostScopeContractVerificationSmokeTest.php`
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/ProviderConnections --filter=ScopeHardening`
- `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent`
- `git diff --check --no-index /dev/null apps/platform/tests/Browser/Spec340PostScopeContractVerificationSmokeTest.php`
- `git diff --check`

## Notes
- Livewire v4 compliance unchanged
- Filament provider registration remains in `apps/platform/bootstrap/providers.php`
- no globally searchable resource behavior changed
- no destructive action behavior changed or executed in this verification gate
- no new Filament assets; deploy `filament:assets` posture is unchanged

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #411
2026-05-31 14:37:30 +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
Spec340PostScopeContractVerificationSmokeTest.php test: add post-scope contract browser verification gate (340) (#411) 2026-05-31 14:37:30 +00:00
TenantMembershipsPageTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00