mirror of
https://github.com/osukey/osukey.git
synced 2025-07-10 21:00:00 +09:00
Fix tests executing before overlays load
This commit is contained in:
@ -19,6 +19,7 @@ namespace osu.Game.Tests.Visual.Menus
|
|||||||
base.SetUpSteps();
|
base.SetUpSteps();
|
||||||
|
|
||||||
AddAssert("no screen offset applied", () => Game.ScreenOffsetContainer.X == 0f);
|
AddAssert("no screen offset applied", () => Game.ScreenOffsetContainer.X == 0f);
|
||||||
|
AddUntilStep("wait for overlays", () => Game.Settings.IsLoaded && Game.Notifications.IsLoaded);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Reference in New Issue
Block a user