Unverified Commit c53f5863 authored by Hendrik Liebau's avatar Hendrik Liebau Committed by GitHub
parent 13809269
...@@ -366,9 +366,11 @@ describe('app dir - prefetching', () => { ...@@ -366,9 +366,11 @@ describe('app dir - prefetching', () => {
await browser.elementById('prefetch-via-link').click() await browser.elementById('prefetch-via-link').click()
// Assert that we're on the homepage (check for accordion since links are hidden) // Assert that we're on the homepage (check for accordion since links are hidden)
expect( await retry(async () => {
await browser.hasElementByCssSelector('#accordion-to-dashboard') expect(await browser.hasElementByCss('#accordion-to-dashboard')).toBe(
).toBe(true) true
)
})
await browser.waitForIdleNetwork() 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