mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-14 15:23:10 -05:00
Deflake E2E test
This commit is contained in:
parent
d72dd52f1e
commit
f68873e4ce
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user