diff --git a/test/e2e/app-dir/ppr-navigations/simple/simple.test.ts b/test/e2e/app-dir/ppr-navigations/simple/simple.test.ts index 930f953bf70e1..26f7858cb0459 100644 --- a/test/e2e/app-dir/ppr-navigations/simple/simple.test.ts +++ b/test/e2e/app-dir/ppr-navigations/simple/simple.test.ts @@ -10,7 +10,7 @@ describe('ppr-navigations simple', () => { const browser = await next.browser('/') try { - for (const { href } of links) { + for (const { href } of [...links].reverse()) { // Find the link element for the href and click it. await browser.elementByCss(`a[href="${href}"]`).click()