Docs: user and administrator guides, screenshots; fix Generate and Leases layout
CI / integration (push) Successful in 1m25s
CI / check (push) Successful in 3m21s

Generate credentials no longer shows a raw JSON box for roles that take no input, and lease rows get proper button styling.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-11-10 10:50:00 +00:00
1 parent 3fa32b5076
commit 4d0740dd97
21 files changed
+389 -5

No files matched your search

@@ -43,6 +43,12 @@ test('shows issued credentials once, and keeps them out of every cache', async (
expect(qc.getMutationCache().getAll()).toHaveLength(0)
})
test('a role that takes no input offers just Generate, with no raw JSON box', () => {
setup('database')
expect(screen.getByRole('form', { name: 'Generate credentials for ro' })).toBeInTheDocument()
expect(screen.queryByLabelText(/JSON/)).not.toBeInTheDocument()
})
test('revokes the lease on request', async () => {
vi.mocked(creds.generateCreds).mockResolvedValue(issued)
vi.mocked(leases.revokeLease).mockResolvedValue()