Skip to content

Front end test fixes#318

Merged
PurpleGuitar merged 2 commits into
doc.bibleineverylanguage.orgfrom
doc-dev.walink.org
Jun 18, 2026
Merged

Front end test fixes#318
PurpleGuitar merged 2 commits into
doc.bibleineverylanguage.orgfrom
doc-dev.walink.org

Conversation

@PurpleGuitar

Copy link
Copy Markdown
Contributor

No description provided.

danparisd and others added 2 commits June 18, 2026 15:25
Increase timeout for button and text interactions
Copilot AI review requested due to automatic review settings June 18, 2026 20:42
@PurpleGuitar PurpleGuitar merged commit c397f0d into doc.bibleineverylanguage.org Jun 18, 2026
12 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates a Playwright E2E flow to be less flaky by adding explicit waits/timeouts around “Next” transitions and resource selection when generating a Prince PDF with a larger book set.

Changes:

  • Add explicit waits for the “Next” button to become enabled before continuing through the wizard.
  • Increase/explicitly set timeouts around resource selection steps (e.g., Unlocked Literal Bible / Regular).
  • Adjust the resource-selection steps to match the expected UI flow (ULB + Regular).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +42 to 43
await expect(page.getByRole('button', { name: 'Next' })).toBeEnabled({ timeout: 15_000 })
await page.getByRole('button', { name: 'Next' }).click()
Comment on lines +47 to 48
await expect(page.getByRole('button', { name: 'Next' })).toBeEnabled({ timeout: 15_000 })
await page.getByRole('button', { name: 'Next' }).click()
Comment on lines +51 to 52
await expect(page.getByRole('button', { name: 'Next' })).toBeEnabled({ timeout: 60_000 })
await page.getByRole('button', { name: 'Next' }).click()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants