mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:07:52 +08:00
Make sure test is in a break
...because apparently it may take a while to update the flag.
This commit is contained in:
parent
1818a84034
commit
b7938e78a0
@ -75,6 +75,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
||||
loadPlayer();
|
||||
AddStep("seek to 2000", () => currentPlayer.GameplayClockContainer.Seek(2000));
|
||||
AddUntilStep("wait until 2000", () => currentPlayer.GameplayClockContainer.CurrentTime, () => Is.GreaterThanOrEqualTo(2000));
|
||||
AddUntilStep("wait until break entered", () => currentPlayer.IsBreakTime.Value);
|
||||
AddStep("touch playfield", () =>
|
||||
{
|
||||
var touch = new Touch(TouchSource.Touch1, currentPlayer.DrawableRuleset.Playfield.ScreenSpaceDrawQuad.Centre);
|
||||
|
Loading…
Reference in New Issue
Block a user