Unverified Commit 0301cf06 authored by Hendrik Liebau's avatar Hendrik Liebau Committed by GitHub

Avoid race condition in ppr navigations test (#66429)

Co-authored-by: 's avatareps1lon <sebastian.silbermann@vercel.com>
parent cef8bfa5
import { nextTestSetup } from 'e2e-utils'
import { links, locales } from './components/page'
import { locales } from './components/page'
describe('ppr-navigations simple', () => {
const { next } = nextTestSetup({
......@@ -10,7 +10,7 @@ describe('ppr-navigations simple', () => {
const browser = await next.browser('/')
try {
for (const { href } of links) {
for (const href of ['/fr/about', '/fr', '/en/about', '/en', '/']) {
// Find the link element for the href and click it.
await browser.elementByCss(`a[href="${href}"]`).click()
......
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