Add storyteller-only admin reading view
Build and publish frontend / publish (push) Successful in 56s
Build and publish frontend / publish (push) Successful in 56s
This commit is contained in:
@@ -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\)/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user