From b744c9d855f208b4ab0d220bd2410d0fb4f21dc2 Mon Sep 17 00:00:00 2001 From: Rui Marinho Date: Thu, 10 Oct 2024 14:32:57 +0100 Subject: [PATCH] [testing] run these tests on iOS for now --- .../Tests/CollectionView/CollectionViewUITests.Grouping.cs | 5 +++-- .../CollectionView/CollectionViewUITests.HeaderAndFooter.cs | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.Grouping.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.Grouping.cs index d7dd8edf2e55..e22b17915606 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.Grouping.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.Grouping.cs @@ -4,9 +4,9 @@ namespace Microsoft.Maui.TestCases.Tests { +#if IOS public class CollectionViewGroupingTests : CollectionViewUITests { - protected override bool ResetAfterEachTest => true; public CollectionViewGroupingTests(TestDevice device) @@ -30,4 +30,5 @@ public void GroupingAndHeaderWorks() App.WaitForElement("Total members: 12"); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.HeaderAndFooter.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.HeaderAndFooter.cs index 4bb29c885c9f..67ba429e45ae 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.HeaderAndFooter.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.HeaderAndFooter.cs @@ -4,6 +4,8 @@ namespace Microsoft.Maui.TestCases.Tests { + +#if IOS public class CollectionViewHeaderAndFooterTests : CollectionViewUITests { @@ -90,3 +92,4 @@ public void HeaderFooterGridHorizontalWorks() } } } +#endif \ No newline at end of file