ATS-PFM-TNL-003Understand and recover a workspace build: Acceptance Test Set
MarkdownTest Scenarios
9 scenarios proving CAP-PFM-TNL-003; 9 bound to an existing test.
01 Snapshots distinguish authorized and absent readsapinegativetest
- Proves
BR-CAP-PFM-TNL-003-01 - Preconditions
- Fixtures include a requested workspace and one without a provisioning job.
- Steps
- Read as staff and customer administrator, then inspect the no-job fixture.
- Expected
- Staff obtain named steps; customer authority is refused and the no-job read returns not found.
- Data
- Use the workspace, caller and collaborator fixtures declared by the bound tests.
- Bound to
- Source
- services-platform:modules/tenants/tests/e2e/tenant-provisioning.e2e.spec.js#shows every step completed, and names each one for the person reading it
02 Failed construction retains partial resourcesapitest
- Proves
BR-CAP-PFM-TNL-003-02 - Preconditions
- A participant refuses its construction step.
- Steps
- Run the job and inspect its workspace and snapshot.
- Expected
- The workspace remains provisioning failed with the recorded refusal summary.
- Data
- Use the workspace, caller and collaborator fixtures declared by the bound tests.
- Bound to
- Source
- services-platform:modules/tenants/tests/e2e/tenant-provisioning.e2e.spec.js#leaves the tenant saying its provisioning failed, which is what makes it retryable
05 Alerts accompany requester mailapitest
- Proves
BR-CAP-PFM-TNL-003-06 - Preconditions
- A successful build has an operations-channel fixture.
- Steps
- Inspect the alert and captured requester message.
- Expected
- Both channels identify the workspace and job outcome.
- Data
- Use the workspace, caller and collaborator fixtures declared by the bound tests.
- Bound to
- Source
- services-platform:modules/tenants/tests/e2e/tenant-provisioning-alerts.e2e.spec.js#posts “Tenant ready” to the operations channel, with the message ts as the delivery’s provider reference
08 Failure explanation supports staff recoveryapitest
- Proves
AS-JNY-PFM-TNL-002-01 - Preconditions
- The recovery journey has a refused build.
- Steps
- Inspect its retained workspace and job snapshot.
- Expected
- The failed workspace and explanation remain available without removal of completed construction.
- Data
- Use the workspace, caller and collaborator fixtures declared by the bound tests.
- Bound to
- Source
- services-platform:modules/tenants/tests/e2e/tenant-provisioning.e2e.spec.js#leaves the tenant saying its provisioning failed, which is what makes it retryable