1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:12:57 +08:00

Fix tests executing before overlays load

This commit is contained in:
Salman Ahmed 2021-08-07 00:36:52 +03:00
parent 8dc0650ca7
commit ae733e202f

View File

@ -19,6 +19,7 @@ namespace osu.Game.Tests.Visual.Menus
base.SetUpSteps();
AddAssert("no screen offset applied", () => Game.ScreenOffsetContainer.X == 0f);
AddUntilStep("wait for overlays", () => Game.Settings.IsLoaded && Game.Notifications.IsLoaded);
}
[Test]