Trim provisioning job details (Refs #88)
This commit is contained in:
@@ -145,7 +145,8 @@ describe('provisioning outcome and evidence presentation', () => {
|
||||
expect(provisioningGroups(detail).flatMap(group => group.steps).every(step => step.state === 'unknown')).toBe(true);
|
||||
detail.progress = null;
|
||||
expect(provisioningGroups(detail)).toEqual([]);
|
||||
expect(provisioningOutcome(detail).description).toContain('evidence was not recorded');
|
||||
expect(provisioningOutcome(detail).description).toBeNull();
|
||||
expect(render(ProvisioningProgressView, { props: { detail } }).body).toContain('Detailed checkpoints were not recorded');
|
||||
});
|
||||
|
||||
it('shows passed container and telemetry game checks while waiting on the engine map', () => {
|
||||
@@ -161,7 +162,7 @@ describe('provisioning outcome and evidence presentation', () => {
|
||||
expect(steps.find(step => step.key === 'verify-map')?.state).toBe('waiting');
|
||||
expect(steps.find(step => step.key === 'verify-game')?.label).not.toContain('RCON');
|
||||
detail.deployment.state = 'done';
|
||||
expect(provisioningOutcome(detail).description).not.toContain('RCON');
|
||||
expect(provisioningOutcome(detail).description).toBeNull();
|
||||
});
|
||||
|
||||
it('newer unknown readiness evidence supersedes an old completion checkpoint', () => {
|
||||
|
||||
Reference in New Issue
Block a user