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:
parent
2b90bc4f1f
commit
b7acf9de52
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user