mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 04:52:57 +08:00
Attempt to fix test better
This commit is contained in:
parent
a598ea5b97
commit
c0ae94dc60
@ -89,7 +89,11 @@ namespace osu.Game.Tests.Visual.Background
|
||||
setupUserSettings();
|
||||
AddStep("Start player loader", () => songSelect.Push(playerLoader = new TestPlayerLoader(player = new LoadBlockingTestPlayer { BlockLoad = true })));
|
||||
AddUntilStep("Wait for Player Loader to load", () => playerLoader?.IsLoaded ?? false);
|
||||
AddAssert("Background retained from song select", () => songSelect.IsBackgroundCurrent());
|
||||
AddAssert("Background retained from song select", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(playerLoader);
|
||||
return songSelect.IsBackgroundCurrent();
|
||||
});
|
||||
|
||||
AddUntilStep("Screen is dimmed and blur applied", () =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user