Unverified Commit c53f5863 authored by Hendrik Liebau's avatar Hendrik Liebau Committed by GitHub
parent 13809269
......@@ -366,9 +366,11 @@ describe('app dir - prefetching', () => {
await browser.elementById('prefetch-via-link').click()
// Assert that we're on the homepage (check for accordion since links are hidden)
expect(
await browser.hasElementByCssSelector('#accordion-to-dashboard')
).toBe(true)
await retry(async () => {
expect(await browser.hasElementByCss('#accordion-to-dashboard')).toBe(
true
)
})
await browser.waitForIdleNetwork()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment