1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 17:30:00 +08:00

Merge pull request #19815 from smoogipoo/fix-quick-retry-test

Fix flaky quick retry test
This commit is contained in:
Dean Herbert
2022-08-17 17:43:31 +09:00
committed by GitHub
Unverified
@@ -432,7 +432,7 @@ namespace osu.Game.Tests.Visual.Gameplay
AddUntilStep("restart completed", () => getCurrentPlayer() != null && getCurrentPlayer() != previousPlayer);
AddStep("release quick retry key", () => InputManager.ReleaseKey(Key.Tilde));
AddUntilStep("wait for load", () => getCurrentPlayer()?.LoadedBeatmapSuccessfully == true);
AddUntilStep("wait for player", () => getCurrentPlayer()?.LoadState == LoadState.Ready);
AddUntilStep("time reached zero", () => getCurrentPlayer()?.GameplayClockContainer.CurrentTime > 0);
AddUntilStep("skip button not visible", () => !checkSkipButtonVisible());