Skip to content

Skip unstable ListView Tile tests and case ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync #13294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions src/test/integration/UIIntegrationTests/ListViewTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ await RunTestAsync(async (form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsTheory]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
[InlineData(2, 2, 150, 150, 0, 1, (int)NavigateDirection.NavigateDirection_FirstChild)]
[InlineData(4, 3, 150, 150, 0, 3, (int)NavigateDirection.NavigateDirection_LastChild)]
[InlineData(4, 1, 150, 150, 0, 1, (int)NavigateDirection.NavigateDirection_LastChild)]
Expand All @@ -134,7 +137,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsTheory]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
[InlineData(1, 0, 150, 150, (int)NavigateDirection.NavigateDirection_FirstChild)]
[InlineData(1, 2, 150, 150, (int)NavigateDirection.NavigateDirection_FirstChild)]
[InlineData(2, 1, 10, 10, (int)NavigateDirection.NavigateDirection_FirstChild)]
Expand All @@ -155,7 +161,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsTheory]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
[InlineData(4, 1)]
[InlineData(2, 3)]
public async Task ListView_Tile_SubItem_FragmentNavigate_Sibling_ReturnsNullAsync(int columnCount, int subItemsCount)
Expand All @@ -175,7 +184,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsTheory]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
[InlineData(4, 3, 150, 150, 3)]
[InlineData(4, 0, 150, 150, 0)]
[InlineData(4, 1, 150, 150, 1)]
Expand All @@ -197,7 +209,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsTheory]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
[InlineData(4, 1)]
[InlineData(2, 5)]
public async Task ListView_Tile_GetChildAsync(int columnCount, int subItemsCount)
Expand All @@ -217,7 +232,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsTheory]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
[InlineData(4, 0, 150, 150)]
[InlineData(1, 2, 150, 150)]
[InlineData(2, 1, 10, 10)]
Expand All @@ -237,7 +255,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsTheory]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
[InlineData(4, 1, 150, 150, -1, 1)]
[InlineData(2, 1, 10, 10, -1, -1)]
public async Task ListView_Tile_GetChildIndex_ForDifferentSize_ReturnsExpectedAsync(int columnCount, int subItemsCount, int width, int height, int expected1, int expected2)
Expand All @@ -256,7 +277,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_SubItem_FragmentNavigate_NextSibling_ReturnsExpectedAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -277,7 +301,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_SubItem_HitTest_ReturnExpectedAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -303,7 +330,10 @@ Point GetSubItemLocation(int itemIndex, int subItemIndex) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_SubItem_FragmentNavigate_Sibling_ReturnsNull_For_SmallSizeAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -321,7 +351,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_SubItem_FragmentNavigate_Child_ReturnsNullAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -338,7 +371,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_GetChild_ReturnsExpectedAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -358,7 +394,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_GetChild_ReturnsExpected_For_BigSizeAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -380,7 +419,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_GetChildIndex_ReturnsExpectedAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -399,7 +441,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_GetChildIndex_ReturnsExpected_SubItemsMoreThanColumnsAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -419,7 +464,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_GetChildIndex_ReturnsMinusOne_For_Single_ColumnAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -436,7 +484,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_GetChildIndex_ReturnsExpected_For_BigSizeAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -462,7 +513,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13291")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13291")]
public async Task ListView_Tile_ColumnProperty_ReturnsMinusOneAsync()
{
await RunTestAsync((form, listView) =>
Expand All @@ -478,7 +532,10 @@ await RunTestAsync((form, listView) =>
});
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/13288")]
[WinFormsFact]
[SkipOnArchitecture(TestArchitectures.X86,
"Flaky tests, see: https://github.com/dotnet/winforms/issues/13288")]
public async Task ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync()
{
await RunTestAsync(async (form, listView) =>
Expand Down