Skip to content

Commit 6c2082b

Browse files
committed
test(ui): align shell disconnect title
1 parent 49925c5 commit 6c2082b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎ui/src/app/app-host.document-title.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,16 @@ describe("OpenClaw shell document title", () => {
167167
expect(document.title).toBe("(2) Usage — OpenClaw");
168168
});
169169

170-
it("shows offline instead of a stale approval count", () => {
170+
it("shows disconnected instead of a stale approval count", () => {
171171
const shell = createShell(createContext({ connected: false, approvalCount: 2 }));
172172
shell.routeState = { routeId: "usage" };
173173

174174
shell.syncDocumentTitle();
175175

176-
expect(document.title).toBe("(Offline) Usage — OpenClaw");
176+
expect(document.title).toBe("(Disconnected) Usage — OpenClaw");
177177
});
178178

179-
it("includes stored chat outbox messages in the offline marker", () => {
179+
it("includes stored chat outbox messages in the disconnected marker", () => {
180180
const shell = createShell(createContext({ connected: false }));
181181
shell.routeState = { routeId: "usage" };
182182
shell.outboxStoreRuntime = {
@@ -185,7 +185,7 @@ describe("OpenClaw shell document title", () => {
185185

186186
shell.syncDocumentTitle();
187187

188-
expect(document.title).toBe("(Offline · 3 queued) Usage — OpenClaw");
188+
expect(document.title).toBe("(Disconnected · 3 queued) Usage — OpenClaw");
189189
});
190190

191191
it("uses the meaningful custodian label without a brand suffix", () => {

0 commit comments

Comments
 (0)