fix(test): Fix export test after export modal description change

This commit is contained in:
Richard Roberson 2025-11-18 13:54:28 -07:00
parent ac194ed749
commit 2950314ac7

View file

@ -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