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
@ -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…
Reference in New Issue
Block a user