Skip to content

Commit

Permalink
[tests] Disable CollectionView related flaky failing tests (#27054)
Browse files Browse the repository at this point in the history
* [tests] Disable random failing tests

* Add issue to the comment
  • Loading branch information
rmarinho authored Jan 10, 2025
1 parent b7c808e commit 8a359b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public Issue22417(TestDevice device) : base(device) { }
[Test]
[Category(UITestCategories.CarouselView)]
[FailsOnMacWhenRunningOnXamarinUITest("VerifyScreenshot method not implemented on macOS")]
[FailsOnWindowsWhenRunningOnXamarinUITest("Flaky test on Windows https://github.com/dotnet/maui/issues/27059")]
public async Task AddItemsToCarouselViewWorks()
{
App.WaitForElement("WaitForStubControl");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public Issue25514(TestDevice testDevice) : base(testDevice)

[Test]
[Category(UITestCategories.CollectionView)]
[FailsOnWindowsWhenRunningOnXamarinUITest("Flaky test on Windows https://github.com/dotnet/maui/issues/27059")]
public void AppShouldNotCrashAfterLoadingGroupedCollectionView()
{
App.WaitForElement("button");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using NUnit.Framework;
#if !MACCATALYST
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;

Expand All @@ -22,4 +23,5 @@ public void RemainingItemsThresholdReachedCommandFired()
Assert.That(label.GetText(), Is.EqualTo("Command Fired!"));
}
}
}
}
#endif

0 comments on commit 8a359b9

Please sign in to comment.