Skip to content

Commit 2950314

Browse files
committed
fix(test): Fix export test after export modal description change
1 parent ac194ed commit 2950314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/export.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async function resetAudiobookIfPresent(page: Page) {
8989
await confirmReset.click();
9090

9191
await expect(
92-
page.getByText(/Click "Start Generation" to begin creating your audiobook/i)
92+
page.getByText(/Generation will use current TTS playback options./i)
9393
).toBeVisible({ timeout: 60_000 });
9494
}
9595

@@ -267,7 +267,7 @@ test.describe('Audiobook export', () => {
267267

268268
// After reset, the hint text for starting generation should re-appear
269269
await expect(
270-
page.getByText(/Click "Start Generation" to begin creating your audiobook/i)
270+
page.getByText(/Generation will use current TTS playback options./i)
271271
).toBeVisible({ timeout: 60_000 });
272272

273273
// Backend should report no existing chapters for this bookId

0 commit comments

Comments
 (0)