mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 08:23:20 +08:00
Fix potential transitiontest failure on local unit tests
This commit is contained in:
parent
8fc90bb9a0
commit
3208f1dde8
@ -205,6 +205,7 @@ namespace osu.Game.Tests.Visual
|
||||
performFullSetup();
|
||||
var results = new FadeAccessibleResults(new ScoreInfo { User = new User { Username = "osu!" } });
|
||||
AddStep("Transition to Results", () => player.Push(results));
|
||||
AddUntilStep(results.IsCurrentScreen, "Wait for results is current");
|
||||
waitForDim();
|
||||
AddAssert("Screen is undimmed, original background retained", () =>
|
||||
songSelect.IsBackgroundUndimmed() && songSelect.IsBackgroundCurrent() && results.IsBlurCorrect());
|
||||
|
Loading…
Reference in New Issue
Block a user