havre: the browser test opens the Harbor tab before exporting from it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BQqGFv54JJTw7p3rgGjP7C
This commit is contained in:
teahubxyzandClaude Opus 5.5 committed 2026-10-19 18:47:56 +00:00
1 parent 205f540c92
commit cd57ecba9f
1 file changed
+2
+2
View File
@@ -1032,7 +1032,9 @@ async function main() {
await has(page, "#adult-note", /^their photos and clips can be adult/);
// exports, made in the browser; the PNG comes back in whole
await page.click("#lt-harbor");
await page.getByRole("button", { name: "Export Ines Corbel" }).click();
await page.click("#lt-chars");
let png = "";
for (const [kind, ext] of [["havre", ".havre.json"], ["v3", ".card.json"], ["prompt", ".txt"], ["png", ".png"]]) {
const [dl] = await Promise.all([page.waitForEvent("download"), page.click(`[data-out="${kind}"]`)]);