From 8ef249f6e914fe54ba4a9335b283362fc3e8867a Mon Sep 17 00:00:00 2001 From: Kai Guo Date: Fri, 15 Feb 2019 16:25:05 -0800 Subject: [PATCH] Disable unreliable tests (#319) * Disable unreliable tests * Add issue# for disabled tests --- .../InteractionTests/RatingControlTests.cs | 3 ++- .../ScrollViewerTestsWithInputHelper.cs | 5 +++-- .../InteractionTests/ScrollerTestsWithInputHelper.cs | 5 +++-- dev/TreeView/InteractionTests/TreeViewTests.cs | 10 ++++++---- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/dev/RatingControl/InteractionTests/RatingControlTests.cs b/dev/RatingControl/InteractionTests/RatingControlTests.cs index afc729978a..331b8646d3 100644 --- a/dev/RatingControl/InteractionTests/RatingControlTests.cs +++ b/dev/RatingControl/InteractionTests/RatingControlTests.cs @@ -346,7 +346,8 @@ public void GamepadTest() } } - [TestMethod] + //Test failures with keyboard/gamepad/mousewheel input #269 + //[TestMethod] public void VerifyThatProgrammaticallyRemovingEngagementResetsValue() { using (var setup = new TestSetupHelper("RatingControl Tests")) // This literally clicks the button corresponding to the test page. diff --git a/dev/ScrollViewer/InteractionTests/ScrollViewerTestsWithInputHelper.cs b/dev/ScrollViewer/InteractionTests/ScrollViewerTestsWithInputHelper.cs index 8a56b3a5d4..92ec17dec6 100644 --- a/dev/ScrollViewer/InteractionTests/ScrollViewerTestsWithInputHelper.cs +++ b/dev/ScrollViewer/InteractionTests/ScrollViewerTestsWithInputHelper.cs @@ -566,8 +566,9 @@ public void VerifyScrollViewerIgnoresGamepadInput() } } - [TestMethod] - [TestProperty("Description", "Tests GamePad interaction")] + //Test failures with keyboard/gamepad/mousewheel input #269 + //[TestMethod] + //[TestProperty("Description", "Tests GamePad interaction")] public void VerifyScrollViewerGamePadHorizontalInteraction() { if (PlatformConfiguration.IsOSVersionLessThan(OSVersion.Redstone4)) diff --git a/dev/Scroller/InteractionTests/ScrollerTestsWithInputHelper.cs b/dev/Scroller/InteractionTests/ScrollerTestsWithInputHelper.cs index 5a2fe6a32a..1314df3c1d 100644 --- a/dev/Scroller/InteractionTests/ScrollerTestsWithInputHelper.cs +++ b/dev/Scroller/InteractionTests/ScrollerTestsWithInputHelper.cs @@ -666,8 +666,9 @@ public void PinchRectangleWithMouseWheel() } } - [TestMethod] - [TestProperty("Description", "Stretch an Image in a Scroller with the mouse wheel.")] + //Test failures with keyboard/gamepad/mousewheel input #269 + //[TestMethod] + //[TestProperty("Description", "Stretch an Image in a Scroller with the mouse wheel.")] public void StretchImageWithMouseWheel() { Log.Comment("Selecting Scroller tests"); diff --git a/dev/TreeView/InteractionTests/TreeViewTests.cs b/dev/TreeView/InteractionTests/TreeViewTests.cs index 36c5bc1a1d..9b47afdf7b 100644 --- a/dev/TreeView/InteractionTests/TreeViewTests.cs +++ b/dev/TreeView/InteractionTests/TreeViewTests.cs @@ -516,8 +516,9 @@ public void TreeViewKeyDownRightToLeftTest_NodeMode() TreeViewKeyDownRightToLeftTest(); } - [TestMethod] - [TestProperty("TreeViewTestSuite", "A")] + //Test failures with keyboard/gamepad/mousewheel input #269 + //[TestMethod] + //[TestProperty("TreeViewTestSuite", "A")] public void TreeViewKeyDownRightToLeftTest_ContentMode() { TreeViewKeyDownRightToLeftTest(isContentMode:true); @@ -1712,8 +1713,9 @@ public void TreeViewMultiSelectGamepadTest_NodeMode() TreeViewMultiSelectGamepadTest(); } - [TestMethod] - [TestProperty("TreeViewTestSuite", "B")] + //Test failures with keyboard/gamepad/mousewheel input #269 + //[TestMethod] + //[TestProperty("TreeViewTestSuite", "B")] public void TreeViewMultiSelectGamepadTest_ContentMode() { TreeViewMultiSelectGamepadTest(isContentMode:true);