Unverified Commit 6ae9828c authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

de-flake next-image test (#66882)

This navigation event is timing out in Turbopack builds, but not for any
particularly good reason: I think the link click is just taking a while,
due to builds still being fairly experimental.

Rather than clicking a link to navigate to the client side test suite,
this just starts the test there, which is similar to how the server test
works anyway and still accomplishes what this test is intended for.

Flakes:

[1](https://github.com/vercel/next.js/actions/runs/9520142937/job/26245881436)

[2](https://github.com/vercel/next.js/actions/runs/9520142937/job/26245558183)

[3](https://github.com/vercel/next.js/actions/runs/9520142937/job/26244822150)

[4](https://github.com/vercel/next.js/actions/runs/9519242919/job/26244323363)
parent f8f27734
...@@ -50,11 +50,7 @@ describe('Custom Resolver Tests', () => { ...@@ -50,11 +50,7 @@ describe('Custom Resolver Tests', () => {
}) })
describe('Client-side Custom Loader Tests', () => { describe('Client-side Custom Loader Tests', () => {
beforeAll(async () => { beforeAll(async () => {
browser = await webdriver(appPort, '/') browser = await webdriver(appPort, '/client-side')
await browser
.elementByCss('#clientlink')
.click()
.waitForElementByCss('#client-side')
}) })
afterAll(async () => { afterAll(async () => {
browser = null browser = null
......
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