feat(mobile): improve image viewer and install entry
Docker Image / Build and Push Docker Image (push) Successful in 1m58s

(cherry picked from commit 556bfd2919)
This commit is contained in:
Codex
2026-07-24 11:24:23 +08:00
parent b04ef58855
commit 64ba720121
11 changed files with 402 additions and 41 deletions
@@ -94,8 +94,16 @@ test("favorite entry and three-tab Menu navigation render on the real pages", as
});
});
await page.goto(defaultCharacterChatPath);
await expect(page.getByRole("button", { name: "Saved" })).toBeVisible();
await savePreview(page, "mobile-ios-external-chat-saved.png");
const iosDownload = page.getByRole("button", { name: "Download" });
await expect(iosDownload).toBeVisible();
await iosDownload.click();
await expect(
page.getByRole("heading", { name: "Add CozSweet to Home Screen" }),
).toBeVisible();
await expect(page.getByRole("dialog")).toContainText(
"In Safari, tap the Share button, then choose “Add to Home Screen”.",
);
await savePreview(page, "mobile-ios-external-chat-download.png");
}
expect(browserErrors.filter(isFeatureRuntimeError)).toEqual([]);