Add storyteller-only admin reading view
Build and publish frontend / publish (push) Successful in 56s

This commit is contained in:
Ein Anderssono
2026-10-23 22:35:02 +02:00
parent c38be1562e
commit 4405307c99
3 changed files with 35 additions and 2 deletions
+8
View File
@@ -31,3 +31,11 @@ test('account trace can be paged until all stored turns are loaded', () => {
assert.match(page, /Visa äldre samtalsturer/);
assert.match(page, /\?limit=\$\{trace\.limit \|\| 200\}&offset=\$\{adminTraceOffset\}/);
});
test('admin can switch to a storyteller-only reading view and return to diagnostics', () => {
assert.match(page, /Lättläst konversation/);
assert.match(page, /Visa felsökningsspår/);
assert.match(page, /root\.classList\.toggle\('admin-simple-conversation', adminSimpleConversation\)/);
assert.match(page, /story\.className = 'admin-story-reply'/);
assert.match(page, /article > :not\(\.admin-story-reply\)/);
});