From 2950314ac7584bc89b9eb74e5dcdf170361c5d04 Mon Sep 17 00:00:00 2001 From: Richard Roberson Date: Tue, 18 Nov 2025 13:54:28 -0700 Subject: [PATCH] fix(test): Fix export test after export modal description change --- tests/export.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/export.spec.ts b/tests/export.spec.ts index 5374f85..a25bfe4 100644 --- a/tests/export.spec.ts +++ b/tests/export.spec.ts @@ -89,7 +89,7 @@ async function resetAudiobookIfPresent(page: Page) { await confirmReset.click(); await expect( - page.getByText(/Click "Start Generation" to begin creating your audiobook/i) + page.getByText(/Generation will use current TTS playback options./i) ).toBeVisible({ timeout: 60_000 }); } @@ -267,7 +267,7 @@ test.describe('Audiobook export', () => { // After reset, the hint text for starting generation should re-appear await expect( - page.getByText(/Click "Start Generation" to begin creating your audiobook/i) + page.getByText(/Generation will use current TTS playback options./i) ).toBeVisible({ timeout: 60_000 }); // Backend should report no existing chapters for this bookId