mirror of https://github.com/ppy/osu
Attempt to fix test better
This commit is contained in:
parent
a598ea5b97
commit
c0ae94dc60
|
@ -89,7 +89,11 @@ public void TestPlayerLoaderSettingsHover()
|
|||
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