Skip to content

Commit 61462b7

Browse files
authored
Skip unstable ListView UI tests (#13514)
* Skip unstable ListView UI tests
1 parent 160b473 commit 61462b7

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

src/test/integration/UIIntegrationTests/ListViewTests.cs

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ await InputSimulator.SendAsync(
4040
});
4141
}
4242

43+
[ActiveIssue("https://github.com/dotnet/winforms/issues/11328")]
4344
[WinFormsFact]
45+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
46+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/11328")]
4447
public async Task ListView_Group_NavigateKeyboard_SucceedsAsync()
4548
{
4649
await RunTestAsync(async (form, listView) =>
@@ -109,7 +112,10 @@ await RunTestAsync(async (form, listView) =>
109112
});
110113
}
111114

115+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
112116
[WinFormsTheory]
117+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
118+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
113119
[InlineData(2, 2, 150, 150, 0, 1, (int)NavigateDirection.NavigateDirection_FirstChild)]
114120
[InlineData(4, 3, 150, 150, 0, 3, (int)NavigateDirection.NavigateDirection_LastChild)]
115121
[InlineData(4, 1, 150, 150, 0, 1, (int)NavigateDirection.NavigateDirection_LastChild)]
@@ -132,7 +138,10 @@ await RunTestAsync((form, listView) =>
132138
});
133139
}
134140

141+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
135142
[WinFormsTheory]
143+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
144+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
136145
[InlineData(1, 0, 150, 150, (int)NavigateDirection.NavigateDirection_FirstChild)]
137146
[InlineData(1, 2, 150, 150, (int)NavigateDirection.NavigateDirection_FirstChild)]
138147
[InlineData(2, 1, 10, 10, (int)NavigateDirection.NavigateDirection_FirstChild)]
@@ -153,7 +162,10 @@ await RunTestAsync((form, listView) =>
153162
});
154163
}
155164

165+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
156166
[WinFormsTheory]
167+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
168+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
157169
[InlineData(4, 1)]
158170
[InlineData(2, 3)]
159171
public async Task ListView_Tile_SubItem_FragmentNavigate_Sibling_ReturnsNullAsync(int columnCount, int subItemsCount)
@@ -173,7 +185,10 @@ await RunTestAsync((form, listView) =>
173185
});
174186
}
175187

188+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
176189
[WinFormsTheory]
190+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
191+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
177192
[InlineData(4, 3, 150, 150, 3)]
178193
[InlineData(4, 0, 150, 150, 0)]
179194
[InlineData(4, 1, 150, 150, 1)]
@@ -195,7 +210,10 @@ await RunTestAsync((form, listView) =>
195210
});
196211
}
197212

213+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
198214
[WinFormsTheory]
215+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
216+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
199217
[InlineData(4, 1)]
200218
[InlineData(2, 5)]
201219
public async Task ListView_Tile_GetChildAsync(int columnCount, int subItemsCount)
@@ -215,7 +233,10 @@ await RunTestAsync((form, listView) =>
215233
});
216234
}
217235

236+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
218237
[WinFormsTheory]
238+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
239+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
219240
[InlineData(4, 0, 150, 150)]
220241
[InlineData(1, 2, 150, 150)]
221242
[InlineData(2, 1, 10, 10)]
@@ -235,7 +256,10 @@ await RunTestAsync((form, listView) =>
235256
});
236257
}
237258

259+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
238260
[WinFormsTheory]
261+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
262+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
239263
[InlineData(4, 1, 150, 150, -1, 1)]
240264
[InlineData(2, 1, 10, 10, -1, -1)]
241265
public async Task ListView_Tile_GetChildIndex_ForDifferentSize_ReturnsExpectedAsync(int columnCount, int subItemsCount, int width, int height, int expected1, int expected2)
@@ -254,7 +278,10 @@ await RunTestAsync((form, listView) =>
254278
});
255279
}
256280

281+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
257282
[WinFormsFact]
283+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
284+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
258285
public async Task ListView_Tile_SubItem_FragmentNavigate_NextSibling_ReturnsExpectedAsync()
259286
{
260287
await RunTestAsync((form, listView) =>
@@ -275,7 +302,10 @@ await RunTestAsync((form, listView) =>
275302
});
276303
}
277304

305+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
278306
[WinFormsFact]
307+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
308+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
279309
public async Task ListView_Tile_SubItem_HitTest_ReturnExpectedAsync()
280310
{
281311
await RunTestAsync((form, listView) =>
@@ -301,7 +331,10 @@ Point GetSubItemLocation(int itemIndex, int subItemIndex) =>
301331
});
302332
}
303333

334+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
304335
[WinFormsFact]
336+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
337+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
305338
public async Task ListView_Tile_SubItem_FragmentNavigate_Sibling_ReturnsNull_For_SmallSizeAsync()
306339
{
307340
await RunTestAsync((form, listView) =>
@@ -319,7 +352,10 @@ await RunTestAsync((form, listView) =>
319352
});
320353
}
321354

355+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
322356
[WinFormsFact]
357+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
358+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
323359
public async Task ListView_Tile_SubItem_FragmentNavigate_Child_ReturnsNullAsync()
324360
{
325361
await RunTestAsync((form, listView) =>
@@ -336,7 +372,10 @@ await RunTestAsync((form, listView) =>
336372
});
337373
}
338374

375+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
339376
[WinFormsFact]
377+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
378+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
340379
public async Task ListView_Tile_GetChild_ReturnsExpectedAsync()
341380
{
342381
await RunTestAsync((form, listView) =>
@@ -356,7 +395,10 @@ await RunTestAsync((form, listView) =>
356395
});
357396
}
358397

398+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
359399
[WinFormsFact]
400+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
401+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
360402
public async Task ListView_Tile_GetChild_ReturnsExpected_For_BigSizeAsync()
361403
{
362404
await RunTestAsync((form, listView) =>
@@ -378,7 +420,10 @@ await RunTestAsync((form, listView) =>
378420
});
379421
}
380422

423+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
381424
[WinFormsFact]
425+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
426+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
382427
public async Task ListView_Tile_GetChildIndex_ReturnsExpectedAsync()
383428
{
384429
await RunTestAsync((form, listView) =>
@@ -397,7 +442,10 @@ await RunTestAsync((form, listView) =>
397442
});
398443
}
399444

445+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
400446
[WinFormsFact]
447+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
448+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
401449
public async Task ListView_Tile_GetChildIndex_ReturnsExpected_SubItemsMoreThanColumnsAsync()
402450
{
403451
await RunTestAsync((form, listView) =>
@@ -417,7 +465,10 @@ await RunTestAsync((form, listView) =>
417465
});
418466
}
419467

468+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
420469
[WinFormsFact]
470+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
471+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
421472
public async Task ListView_Tile_GetChildIndex_ReturnsMinusOne_For_Single_ColumnAsync()
422473
{
423474
await RunTestAsync((form, listView) =>
@@ -434,7 +485,10 @@ await RunTestAsync((form, listView) =>
434485
});
435486
}
436487

488+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
437489
[WinFormsFact]
490+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
491+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
438492
public async Task ListView_Tile_GetChildIndex_ReturnsExpected_For_BigSizeAsync()
439493
{
440494
await RunTestAsync((form, listView) =>
@@ -460,7 +514,10 @@ await RunTestAsync((form, listView) =>
460514
});
461515
}
462516

517+
[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
463518
[WinFormsFact]
519+
[SkipOnArchitecture(TestArchitectures.X86 | TestArchitectures.X64,
520+
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
464521
public async Task ListView_Tile_ColumnProperty_ReturnsMinusOneAsync()
465522
{
466523
await RunTestAsync((form, listView) =>

0 commit comments

Comments
 (0)