mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:52:54 +08:00
Wait for track to start running before seeking
This commit is contained in:
parent
95082d2fcc
commit
0c293be89c
@ -44,6 +44,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
[Test]
|
[Test]
|
||||||
public void TestNoJudgementsOnRewind()
|
public void TestNoJudgementsOnRewind()
|
||||||
{
|
{
|
||||||
|
AddUntilStep("wait for track to start running", () => track.IsRunning);
|
||||||
addSeekStep(3000);
|
addSeekStep(3000);
|
||||||
AddAssert("all judged", () => player.DrawableRuleset.Playfield.AllHitObjects.All(h => h.Judged));
|
AddAssert("all judged", () => player.DrawableRuleset.Playfield.AllHitObjects.All(h => h.Judged));
|
||||||
AddStep("clear results", () => player.AppliedResults.Clear());
|
AddStep("clear results", () => player.AppliedResults.Clear());
|
||||||
|
Loading…
Reference in New Issue
Block a user