mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Add even more safety against unloaded components
This commit is contained in:
parent
af66ccbfdf
commit
7052f87eb8
@ -96,7 +96,9 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
return hudOverlay;
|
||||
});
|
||||
});
|
||||
AddUntilStep("wait for load", () => hudOverlay.IsAlive);
|
||||
AddUntilStep("HUD overlay loaded", () => hudOverlay.IsAlive);
|
||||
AddUntilStep("components container loaded",
|
||||
() => hudOverlay.ChildrenOfType<SkinComponentsContainer>().Any(scc => scc.ComponentsLoaded));
|
||||
}
|
||||
|
||||
protected override Ruleset CreateRulesetForSkinProvider() => new OsuRuleset();
|
||||
|
Loading…
Reference in New Issue
Block a user