mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Fix pause tests
This commit is contained in:
parent
0bf17081f6
commit
52336e9062
@ -26,7 +26,7 @@ namespace osu.Game.Tests.Visual
|
||||
public void SetUpSteps()
|
||||
{
|
||||
AddStep(ruleset.RulesetInfo.Name, loadPlayer);
|
||||
AddUntilStep(() => Player.IsLoaded, "player loaded");
|
||||
AddUntilStep(() => Player.IsLoaded && Player.Alpha == 1, "player loaded");
|
||||
}
|
||||
|
||||
protected virtual IBeatmap CreateBeatmap(Ruleset ruleset) => new TestBeatmap(ruleset.RulesetInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user