diff --git a/e2e/tournament-bracket.spec.ts b/e2e/tournament-bracket.spec.ts index a10ef77a8..ddd482299 100644 --- a/e2e/tournament-bracket.spec.ts +++ b/e2e/tournament-bracket.spec.ts @@ -691,6 +691,11 @@ test.describe("Tournament bracket", () => { await navigateToMatch(page, 5); await goToTab(page, "admin"); await submit(page, "reopen-match-button"); + // Wait for the reopen to be reflected before switching tabs: switching + // tabs is a `defaultShouldRevalidate: false` navigation that would abort + // the still-in-flight post-reopen loader revalidation, leaving the match + // stuck as "over" so the action tab never appears. + await isNotVisible(page.getByTestId("reopen-match-button")); await goToTab(page, "action"); await undoLastReport(page); await reportResult(page, {