1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Make test work without manually clicking things

This commit is contained in:
Dean Herbert 2021-05-10 12:36:56 +09:00
parent 2b90bc4f1f
commit b7acf9de52

View File

@ -72,10 +72,13 @@ namespace osu.Game.Tests.Visual.SongSelect
Scale = new Vector2(1.5f),
Alpha = 0f,
};
display.FadeIn(400, Easing.OutQuint);
});
AddStep("fade in", () => display.FadeIn(400, Easing.OutQuint));
AddToggleStep("trigger loading", v => display.Loading = v);
AddWaitStep("wait a bit", 5);
AddStep("finish loading", () => display.Loading = false);
}
}
}