From 727992646f16917310165c2f15e8625970b3717d Mon Sep 17 00:00:00 2001 From: danparisd <43418833+danparisd@users.noreply.github.com> Date: Thu, 18 Jun 2026 15:25:44 -0400 Subject: [PATCH] Increase timeout for button and text interactions Fix Ontenu resource type name --- frontend/tests/e2e/doc_test_4.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/tests/e2e/doc_test_4.ts b/frontend/tests/e2e/doc_test_4.ts index e88e2fda..76b53635 100644 --- a/frontend/tests/e2e/doc_test_4.ts +++ b/frontend/tests/e2e/doc_test_4.ts @@ -39,13 +39,16 @@ test('use prince with lots of books', async ({ page }) => { await page.getByPlaceholder('Search Heart Languages').click() await page.getByPlaceholder('Search Heart Languages').fill('ont') await page.getByText('Ontenu').click() + await expect(page.getByRole('button', { name: 'Next' })).toBeEnabled({ timeout: 15_000 }) await page.getByRole('button', { name: 'Next' }).click() await page.getByText('Select all').click() await page.getByRole('button', { name: 'Old Testament' }).click() await page.getByRole('button', { name: 'New Testament' }).click() + await expect(page.getByRole('button', { name: 'Next' })).toBeEnabled({ timeout: 15_000 }) await page.getByRole('button', { name: 'Next' }).click() - await page.getByText('Unlocked Literal Bible').first().click() - await page.getByText('Unlocked Literal Bible').nth(1).click() + await page.getByText('Unlocked Literal Bible').first().click({ timeout: 120_000 }) + await page.getByText('Regular').click({ timeout: 30_000 }) + await expect(page.getByRole('button', { name: 'Next' })).toBeEnabled({ timeout: 60_000 }) await page.getByRole('button', { name: 'Next' }).click() await page.getByRole('radio', { name: 'PDF' }).click() await page.getByText('Interleave content by chapter').click()