Skip to content

Commit

Permalink
Add a wait to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Apr 20, 2023
1 parent 7c1bfa5 commit 094fca7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ for (const mediaType of supportedMediaTypes) {
// This will include the "Back to results" link.
await openFirstResult(page, mediaType)
await removeHiddenOverflow(page)
await page.waitForEvent("load")

await expectSnapshot(
`${mediaType}-${dir}-from-search-results`,
page,
Expand Down

0 comments on commit 094fca7

Please sign in to comment.