Merge pull request #10560 from peppy/fix-catch-test-failures

Fix osu!catch test failures due to trying to retrieve container too early
This commit is contained in:
Dan Balasescu 2020-10-19 20:26:12 +09:00 committed by GitHub
commit d478c4392b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,10 @@ namespace osu.Game.Rulesets.Catch.Tests
Origin = Anchor.Centre,
Scale = new Vector2(4f),
}, skin);
});
AddStep("get trails container", () =>
{
trails = catcherArea.OfType<CatcherTrailDisplay>().Single();
catcherArea.MovableCatcher.SetHyperDashState(2);
});