mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Temporarily increased timeout for saving Offer in tests
- if Stripe is slow, this might take longer than we expect to finish - this helps prevent flaky tests in CI
This commit is contained in:
parent
ccbcba0969
commit
3a564237a5
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ const createOffer = async (page, {name, tierName, offerType, amount, discountTyp
|
|||
// Wait for the "Saved" button, ensures that next clicks don't trigger the unsaved work modal
|
||||
await page.getByRole('button', {name: 'Saved'}).waitFor({
|
||||
state: 'visible',
|
||||
timeout: 1000
|
||||
timeout: 10000
|
||||
});
|
||||
await page.locator('.gh-nav a[href="#/offers/"]').click();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue