1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-10 02:53:39 +08:00

Attempt to fix flaky test TestFilteringRunsAfterReturningFromGameplay

The double escape key press was dodgy from the get-go.
This commit is contained in:
Dean Herbert
2025-09-03 18:49:19 +09:00
Unverified
parent 19d194476f
commit 71d0afd4c2
@@ -320,9 +320,9 @@ namespace osu.Game.Tests.Visual.SongSelectV2
AddUntilStep("wait for player", () => Stack.CurrentScreen is Player);
AddUntilStep("wait for fail", () => ((Player)Stack.CurrentScreen).GameplayState.HasFailed);
AddStep("exit gameplay", () => InputManager.Key(Key.Escape));
AddStep("exit gameplay", () => InputManager.Key(Key.Escape));
AddStep("exit gameplay", () => Stack.CurrentScreen.Exit());
AddUntilStep("wait for song select", () => Stack.CurrentScreen is Screens.SelectV2.SongSelect);
AddUntilStep("wait for filtered", () => SongSelect.ChildrenOfType<BeatmapCarousel>().Single().FilterCount, () => Is.EqualTo(2));
}