1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 21:39:30 +08:00

Wait for dim

This commit is contained in:
David Zhao
2019-03-20 17:31:06 +09:00
Unverified
parent fbfef844de
commit b5e8eb2a4a
@@ -240,6 +240,7 @@ namespace osu.Game.Tests.Visual
waitForDim();
AddAssert("Screen is dimmed and blur applied", () => songSelect.IsBackgroundDimmed() && songSelect.IsUserBlurApplied());
AddStep("Move mouse to center of screen", () => InputManager.MoveMouseTo(playerLoader.ScreenPos));
waitForDim();
AddAssert("Screen is undimmed and user blur removed", () => songSelect.IsBackgroundUndimmed() && playerLoader.IsBlurCorrect());
}