UI: signed-out menu and landing, form checkbox layout, Secrets header
The menu shows only Connect while signed out and the section links once signed in; / goes to Connect or Identities accordingly. Yes/no settings in the engine forms put the box beside its text. The Secrets page now has New secrets engine on its own line, then a labelled engine picker with Settings and Delete beside it, then the breadcrumbs, and dynamic engines use the full width. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58b6230f9b
commit
d488bb42cc
11 files changed
+235
-88
No files matched your search
@@ -40,6 +40,16 @@ test('offers Connect only while signed out', async () => {
|
||||
expect(screen.queryByRole('link', { name: 'Connection' })).not.toBeInTheDocument()
|
||||
})
|
||||
|
||||
test('shows the section links only while signed in', async () => {
|
||||
const user = setup()
|
||||
const names = ['Identities', 'Secrets', 'Graph']
|
||||
for (const n of names) expect(screen.queryByRole('link', { name: n })).not.toBeInTheDocument()
|
||||
expect(screen.getByRole('link', { name: 'Connect' })).toBeInTheDocument()
|
||||
|
||||
await user.click(screen.getByRole('button', { name: 'sign in' }))
|
||||
for (const n of names) expect(screen.getByRole('link', { name: n })).toBeInTheDocument()
|
||||
})
|
||||
|
||||
test('while signed in, the signed-in name links to the connection details', async () => {
|
||||
const user = setup()
|
||||
await user.click(screen.getByRole('button', { name: 'sign in' }))
|
||||
|
||||
Reference in new issue
Block a user