Fix test failure due to restart happening too fast

This commit is contained in:
Dean Herbert 2024-11-14 01:23:21 +09:00
parent 2dbc275bb8
commit f597568476
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ public void TestQuickRetry()
AddUntilStep("restart completed", () => getCurrentPlayer() != null && getCurrentPlayer() != previousPlayer);
AddStep("release quick retry key", () => InputManager.ReleaseKey(Key.Tilde));
AddUntilStep("wait for player", () => getCurrentPlayer()?.LoadState == LoadState.Ready);
AddUntilStep("wait for player", () => getCurrentPlayer()?.LoadState >= LoadState.Ready);
AddUntilStep("time reached zero", () => getCurrentPlayer()?.GameplayClockContainer.CurrentTime > 0);
AddUntilStep("skip button not visible", () => !checkSkipButtonVisible());