Add complete system qualification evidence
This commit is contained in:
parent
775dd61963
commit
6952767503
1 changed files with 1256 additions and 84 deletions
|
|
@ -138,6 +138,26 @@ test('submits an authorized HTTP job and retains its idempotency key on retry',
|
|||
})
|
||||
})
|
||||
|
||||
test('renders job status progress and failure', async () => {
|
||||
const fixture = runtimeFixture()
|
||||
fixture.api.snapshot = job(2, {
|
||||
label: 'Failed archive',
|
||||
phase: 'Failed',
|
||||
failure: {
|
||||
class: 'internal',
|
||||
message: 'Structured failure',
|
||||
retryable: true,
|
||||
},
|
||||
})
|
||||
const screen = await render(App, { runtime: fixture.runtime })
|
||||
fixture.session.emit(authenticated('token-one'))
|
||||
await screen.getByRole('button', { name: /Failed archive.*Failed/ }).click()
|
||||
await expect
|
||||
.element(screen.getByText('10 / 100 bytes; 0 members'))
|
||||
.toBeVisible()
|
||||
await expect.element(screen.getByText('Structured failure')).toBeVisible()
|
||||
})
|
||||
|
||||
test('covers history, result access, lifecycle confirmations, and admin revocation', async () => {
|
||||
const fixture = runtimeFixture()
|
||||
fixture.api.snapshot = job(3, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue