Skip to content

Commit 380f304

Browse files
committed
test: Disable flaky UI tests
1 parent bab1f15 commit 380f304

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ComboBoxTests/UnoSamples_Tests.ComboBoxTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public void ComboBoxTests_VisibleBounds()
9999

100100
[Test]
101101
[AutoRetry]
102+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
102103
public void ComboBoxTests_Stretch()
103104
{
104105
Run("UITests.Windows_UI_Xaml_Controls.ComboBox.ComboBox_Stretch");
@@ -118,6 +119,7 @@ public void ComboBoxTests_Stretch()
118119
[Test]
119120
[AutoRetry]
120121
[ActivePlatforms(Platform.Android, Platform.Browser)] // Ignore iOS for timeout using Xamarin.UITest 3.2 (or iOS 15) https://github.com/unoplatform/uno/issues/8013
122+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
121123
public void ComboBoxTests_Fullscreen_Popup_Generic()
122124
{
123125
Run("SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox.ComboBox_FullScreen_Popup");

src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/FlyoutTests/UnoSamples_Tests.Flyout.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public void FlyoutTest_BottomPlacement_WithSmallerAnchor_DoesntDefaultToFull()
3939
[Test]
4040
[AutoRetry]
4141
[ActivePlatforms(Platform.Android, Platform.Browser)] // Test authoring problem on iOS
42+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
4243
public void FlyoutTest_DataBoundButton_CommandExecutes()
4344
{
4445
Run("UITests.Shared.Windows_UI_Xaml_Controls.Flyout.Flyout_ButtonInContent");
@@ -62,6 +63,7 @@ public void FlyoutTest_DataBoundButton_CommandExecutes()
6263
[Test]
6364
[AutoRetry]
6465
[ActivePlatforms(Platform.Android, Platform.Browser)] // Test is flaky on iOS #9080
66+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
6567
public void FlyoutTest_Target()
6668
{
6769
Run("Uno.UI.Samples.Content.UITests.Flyout.Flyout_Target");
@@ -122,6 +124,7 @@ public void FlyoutTest_Target()
122124
[Test]
123125
[AutoRetry]
124126
[ActivePlatforms(Platform.Android, Platform.Browser)] // Very flaky on iOS #9080
127+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
125128
public void FlyoutTest_Unloaded()
126129
{
127130
Run("UITests.Shared.Windows_UI_Xaml_Controls.Flyout.Flyout_Unloaded");
@@ -141,6 +144,7 @@ public void FlyoutTest_Unloaded()
141144
[Test]
142145
[AutoRetry]
143146
[ActivePlatforms(Platform.Android, Platform.Browser)] // Test authoring problem on iOS
147+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
144148
public void FlyoutTest_Simple_FlyoutsCanBeDismissed()
145149
{
146150
Run("Uno.UI.Samples.Content.UITests.Flyout.Flyout_Simple");
@@ -200,6 +204,7 @@ public void FlyoutTest_Simple_FlyoutsCanBeDismissed()
200204
[Test]
201205
[AutoRetry]
202206
[ActivePlatforms(Platform.Android)] // Test authoring problem on iOS, flaky on WASM #9080
207+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
203208
public void Flyout_TemplatedParent()
204209
{
205210
Run("UITests.Windows_UI_Xaml_Controls.Flyout.Flyout_TemplatedParent");
@@ -218,6 +223,7 @@ public void Flyout_TemplatedParent()
218223
[Test]
219224
[AutoRetry]
220225
[ActivePlatforms(Platform.Android, Platform.Browser)] // Test authoring problem on iOS
226+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
221227
public void Flyout_Namescope()
222228
{
223229
Run("UITests.Shared.Windows_UI_Xaml_Controls.FlyoutTests.Flyout_Namescope");
@@ -238,6 +244,7 @@ public void Flyout_Namescope()
238244

239245
[Test]
240246
[AutoRetry]
247+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
241248
public void Flyout_ShowAt_Window_Content()
242249
{
243250
Run("UITests.Windows_UI_Xaml_Controls.FlyoutTests.Flyout_ShowAt_Window_Content");

src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Shapes/Basics_Shapes_Tests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,34 +20,39 @@ public partial class Basics_Shapes_Tests : SampleControlUITestBase
2020
[AutoRetry]
2121
[ActivePlatforms(Platform.Android)] // Flaky on iOS #9080
2222
[Timeout(TestTimeout)]
23+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
2324
public void When_Rectangle()
2425
=> ValidateShape("Rectangle");
2526

2627
[Test]
2728
[AutoRetry]
2829
[ActivePlatforms(Platform.iOS, Platform.Android)]
2930
[Timeout(TestTimeout)]
31+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
3032
public void When_Ellipse()
3133
=> ValidateShape("Ellipse");
3234

3335
[Test]
3436
[AutoRetry]
3537
[ActivePlatforms(Platform.iOS, Platform.Android)]
3638
[Timeout(TestTimeout)]
39+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
3740
public void When_Line()
3841
=> ValidateShape("Line");
3942

4043
[Test]
4144
[AutoRetry]
4245
[ActivePlatforms(Platform.iOS, Platform.Android)]
4346
[Timeout(TestTimeout)]
47+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
4448
public void When_Polyline()
4549
=> ValidateShape("Polyline");
4650

4751
[Test]
4852
[AutoRetry]
4953
[ActivePlatforms(Platform.iOS, Platform.Android)]
5054
[Timeout(TestTimeout)]
55+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
5156
public void When_Polygon()
5257
{
5358
// For Polygon, the junction between the begin and the end of the path is not as smooth as WinUI (on iOS),
@@ -762,6 +767,7 @@ public void ValidateShape(string shapeName, PixelTolerance? tolerance = null)
762767

763768
[Test]
764769
[AutoRetry]
770+
[Ignore("Flaky on iOS/Android native https://github.com/unoplatform/uno/issues/22688")]
765771
public void Validate_Offscreen_Shapes()
766772
{
767773
Run("UITests.Windows_UI_Xaml_Shapes.Offscreen_Shapes");

0 commit comments

Comments
 (0)