mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
test(ui): complete Custodian panel fixtures
This commit is contained in:
@@ -106,7 +106,15 @@ describe("custodian panel", () => {
|
||||
it("hides and restores the dock across full-page suppression", async () => {
|
||||
const { panel, store } = await mountPanel();
|
||||
store.messages = [
|
||||
{ id: 1, role: "user", text: "Check this system", at: 1, question: null, step: null },
|
||||
{
|
||||
id: 1,
|
||||
role: "user",
|
||||
text: "Check this system",
|
||||
at: 1,
|
||||
question: null,
|
||||
step: null,
|
||||
structuredResponse: null,
|
||||
},
|
||||
];
|
||||
|
||||
panel.suppressed = false;
|
||||
@@ -194,7 +202,15 @@ describe("custodian panel", () => {
|
||||
it("updates the panel mascot mood with shared sending state", async () => {
|
||||
const { panel, store } = await mountPanel();
|
||||
store.messages = [
|
||||
{ id: 1, role: "user", text: "Check this system", at: 1, question: null, step: null },
|
||||
{
|
||||
id: 1,
|
||||
role: "user",
|
||||
text: "Check this system",
|
||||
at: 1,
|
||||
question: null,
|
||||
step: null,
|
||||
structuredResponse: null,
|
||||
},
|
||||
];
|
||||
panel.suppressed = false;
|
||||
panel.minimizeRequestId = 1;
|
||||
|
||||
Reference in New Issue
Block a user