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
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ public class TestSceneCatchPlayerLegacySkin : LegacySkinPlayerTestScene
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
[Test]
[Ignore("HUD components broken, remove when fixed.")]
public void TestLegacyHUDComboCounterHidden([Values] bool withModifiedSkin)
{
if (withModifiedSkin)
@ -33,7 +32,7 @@ public void TestLegacyHUDComboCounterHidden([Values] bool withModifiedSkin)
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);
});
}
}