mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Fix potential test scene failure due to showMoreButton not being loaded in time
This commit is contained in:
parent
dde9fd28e6
commit
0818deac17
@ -35,6 +35,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
{
|
||||
setUpNewsResponse(responseWithCursor, "Set up cursor response");
|
||||
AddStep("Show", () => overlay.Show());
|
||||
AddUntilStep("Show more button is ready", () => showMoreButton != null);
|
||||
AddAssert("Show More button is visible", () => showMoreButton.Alpha == 1);
|
||||
setUpNewsResponse(responseWithNoCursor, "Set up no cursor response");
|
||||
AddStep("Click Show More", () => showMoreButton.Click());
|
||||
|
Loading…
Reference in New Issue
Block a user