Revert "Remove ignore attribute from now fixed test scene"

This reverts commit 4e12a2734c.
This commit is contained in:
Salman Ahmed 2021-05-18 17:45:15 +03:00
parent 4e12a2734c
commit 076fcec3df

View File

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