1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:53:21 +08:00

Give flow container test long enough to finish

This commit is contained in:
David Zhao 2019-04-04 13:25:24 +09:00
parent b2e932dc74
commit 456459cafa

View File

@ -183,7 +183,7 @@ namespace osu.Game.Tests.Visual.UserInterface
}, 700); }, 700);
}); });
waitForMove(); waitForMove(8);
AddAssert("Logo is tracking", () => facadeContainer.IsLogoTracking); AddAssert("Logo is tracking", () => facadeContainer.IsLogoTracking);
} }
@ -219,7 +219,7 @@ namespace osu.Game.Tests.Visual.UserInterface
facadeContainer.SetLogo(logo, 1.0f, 1000); facadeContainer.SetLogo(logo, 1.0f, 1000);
} }
private void waitForMove() => AddWaitStep("Wait for transforms to finish", 5); private void waitForMove(int count = 5) => AddWaitStep("Wait for transforms to finish", count);
private void removeFacade() private void removeFacade()
{ {