12 lines
674 B
JSON
12 lines
674 B
JSON
{
|
|
"_comment": "D5 fixture for /demos/auth. The demo defaults to UNAUTHENTICATED — the probe's preFill clicks the SignInCard's sign-in button to mount <CopilotKit> + chat, the runner sends 'auth check turn 1', the assertion clicks sign-out and waits for the SignInCard to re-mount (proves the entire chat tree unmounted on sign-out). Substring 'auth check turn 1' is unique across the d5-all bundle.",
|
|
"fixtures": [
|
|
{
|
|
"match": { "userMessage": "auth check turn 1" },
|
|
"response": {
|
|
"content": "Authenticated session is active. The runtime accepted your request because the Authorization header carried the demo bearer token."
|
|
}
|
|
}
|
|
]
|
|
}
|