Skip to content

Commit b53e5b8

Browse files
committed
test: lock first-screen premise clarity
1 parent d5ba83f commit b53e5b8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

examples/safe-agent-api/tests/test_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ def test_playground_is_public_and_self_contained() -> None:
1010
assert response.status_code == 200
1111
assert "Safe Agent Playground" in response.text
1212
assert "/v1/run-demo" in response.text
13+
assert "What problem does this solve?" in response.text
14+
assert "The premise in one sentence" in response.text
15+
assert "Model suggestion is not authorization." in response.text
16+
assert "Unsafe" in response.text
17+
assert "Safer" in response.text
18+
assert "AI proposes action" in response.text
1319
assert "Why this demo exists" in response.text
1420
assert "Why the boundary matters" in response.text
1521
assert 'href="/glossary"' in response.text

0 commit comments

Comments
 (0)