mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed flaky Offers tests (#19170)
refs https://ghost.slack.com/archives/C02G9E68C/p1701258027793649 - missing an `await` before the `expect` in the test causing it to be potentially flaky.
This commit is contained in:
parent
0b57c01dd9
commit
2f43f58010
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ test.describe('Offers Modal', () => {
|
|||
}]
|
||||
});
|
||||
const successModal = page.getByTestId('offer-success-modal');
|
||||
expect(successModal).toBeVisible();
|
||||
await expect(successModal).toBeVisible();
|
||||
});
|
||||
|
||||
test('Errors if required fields are missing', async ({page}) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue