commit 96b47cdf63674a0b4cb777d6704de7bc028b6d04
parent c1ae12fdd0cf16632b83d531456ff6b9c11033fe
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 6 Nov 2026 22:51:50 -0500
umtool e2e voices: the page's first read on a cold server gets 30 s (it failed at 5 s with the machine's load at 32)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/umtool/e2e/voices.spec.ts b/umtool/e2e/voices.spec.ts
@@ -69,7 +69,8 @@ test("each character's voice and where it comes from; an audition side by side w
await page.goto(urls.voicesHref(P));
const host = page.locator('[data-voices-character="@hostman"]');
const guest = page.locator('[data-voices-character="@guest"]');
- await expect(host).toBeVisible();
+ // The page's first read on a cold server (the project's characters, the cast, the engines): give it time.
+ await expect(host).toBeVisible({ timeout: 30_000 });
// Nothing in the cast yet: his own items read in the narrator's voice; the guest's too, and as a context post the default.
await expect(host).toHaveAttribute("data-voice-from", "narrator");
await expect(host.locator("[data-voice-now]")).toHaveAttribute("data-voice-now", "orpheus:zac");