Add complete system qualification evidence

This commit is contained in:
ms2k 2026-07-18 14:09:04 +09:00
commit 6952767503

View file

@ -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, {