diff --git a/packages/app/e2e/browser/offline-draft.spec.ts b/packages/app/e2e/browser/offline-draft.spec.ts index 36ae726457..7b6094c60d 100644 --- a/packages/app/e2e/browser/offline-draft.spec.ts +++ b/packages/app/e2e/browser/offline-draft.spec.ts @@ -11,7 +11,7 @@ async function restoreHostConnection(gate: Awaited { @@ -28,5 +28,6 @@ test("an offline workspace draft reports the disconnected host instead of loadin await expect(page.getByText("Loading...", { exact: true })).toHaveCount(0); await restoreHostConnection(gate); await expectComposerModel(page, "Ten second stream"); + await expect(page.getByRole("alert").filter({ hasText: "Host is not connected" })).toHaveCount(0); await expect(page.getByRole("textbox", { name: "Message agent..." })).toHaveValue("hello"); });