Wait for track to start running before seeking

This commit is contained in:
smoogipoo 2019-06-14 19:51:31 +09:00
parent 95082d2fcc
commit 0c293be89c
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ protected override WorkingBeatmap CreateWorkingBeatmap(IBeatmap beatmap)
[Test]
public void TestNoJudgementsOnRewind()
{
AddUntilStep("wait for track to start running", () => track.IsRunning);
addSeekStep(3000);
AddAssert("all judged", () => player.DrawableRuleset.Playfield.AllHitObjects.All(h => h.Judged));
AddStep("clear results", () => player.AppliedResults.Clear());