Skip to content

Commit

Permalink
Revert "[tests] Ignore InputTransparencyGalleryTests matrix of UITests (
Browse files Browse the repository at this point in the history
#19060)"

This reverts commit d8939fd.
  • Loading branch information
mattleibow committed Nov 29, 2023
1 parent 1ed6bdb commit a7edb02
Showing 1 changed file with 8 additions and 8 deletions.
Expand Up @@ -22,15 +22,15 @@ protected override void NavigateToGallery()
[Test]
public void Simple([Values] Test.InputTransparency test) => RunTest(test.ToString());

// [Test]
// [Combinatorial]
// public void Matrix([Values] bool rootTrans, [Values] bool rootCascade, [Values] bool nestedTrans, [Values] bool nestedCascade, [Values] bool trans)
// {
// var (clickable, passthru) = Test.InputTransparencyMatrix.States[(rootTrans, rootCascade, nestedTrans, nestedCascade, trans)];
// var key = Test.InputTransparencyMatrix.GetKey(rootTrans, rootCascade, nestedTrans, nestedCascade, trans, clickable, passthru);
[Test]
[Combinatorial]
public void Matrix([Values] bool rootTrans, [Values] bool rootCascade, [Values] bool nestedTrans, [Values] bool nestedCascade, [Values] bool trans)
{
var (clickable, passthru) = Test.InputTransparencyMatrix.States[(rootTrans, rootCascade, nestedTrans, nestedCascade, trans)];
var key = Test.InputTransparencyMatrix.GetKey(rootTrans, rootCascade, nestedTrans, nestedCascade, trans, clickable, passthru);

// RunTest(key, clickable, passthru);
// }
RunTest(key, clickable, passthru);
}

void RunTest(string test, bool? clickable = null, bool? passthru = null)
{
Expand Down

0 comments on commit a7edb02

Please sign in to comment.