1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 12:43:16 +08:00

Attempt to fix more test failures

This commit is contained in:
Bartłomiej Dach 2023-06-27 20:14:33 +02:00
parent 41890cfc65
commit ada9c48bde
No known key found for this signature in database

View File

@ -63,7 +63,6 @@ namespace osu.Game.Tests.Visual.Gameplay
float? initialAlpha = null;
createNew(h => h.OnLoadComplete += _ => initialAlpha = hideTarget.Alpha);
AddUntilStep("wait for load", () => hudOverlay.IsAlive);
AddAssert("initial alpha was less than 1", () => initialAlpha < 1);
}
@ -97,6 +96,7 @@ namespace osu.Game.Tests.Visual.Gameplay
return hudOverlay;
});
});
AddUntilStep("wait for load", () => hudOverlay.IsAlive);
}
protected override Ruleset CreateRulesetForSkinProvider() => new OsuRuleset();