Remove ignore attribute from now fixed test scene

This commit is contained in:
Salman Ahmed 2021-05-18 09:51:58 +03:00
parent 380d004683
commit 4e12a2734c

View File

@ -20,7 +20,6 @@ namespace osu.Game.Rulesets.Catch.Tests
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset(); protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
[Test] [Test]
[Ignore("HUD components broken, remove when fixed.")]
public void TestLegacyHUDComboCounterHidden([Values] bool withModifiedSkin) public void TestLegacyHUDComboCounterHidden([Values] bool withModifiedSkin)
{ {
if (withModifiedSkin) if (withModifiedSkin)
@ -33,7 +32,7 @@ namespace osu.Game.Rulesets.Catch.Tests
AddAssert("legacy HUD combo counter hidden", () => AddAssert("legacy HUD combo counter hidden", () =>
{ {
return Player.ChildrenOfType<LegacyComboCounter>().All(c => !c.ChildrenOfType<Container>().Single().IsPresent); return Player.ChildrenOfType<LegacyComboCounter>().All(c => c.ChildrenOfType<Container>().Single().Alpha == 0f);
}); });
} }
} }