Skip to content

Commit

Permalink
Avoid race condition in ppr navigations test
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed May 31, 2024
1 parent a0155c7 commit 19b7602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/app-dir/ppr-navigations/simple/simple.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 19b7602

Please sign in to comment.