Skip to content

Unstable unit test: System.Windows.Forms.UITests.ListViewTests.ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync #13288

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

Open
LeafShi1 opened this issue Apr 11, 2025 · 0 comments
Labels
disabled-test Tracking tests that have been disabled to prevent run failures. test-bug Problem in test source code (most likely)

Comments

@LeafShi1
Copy link
Member

LeafShi1 commented Apr 11, 2025

Related #11227

Test

System.Windows.Forms.UITests.ListViewTests.ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync

Issue description

Error Message:

  • In X86 unit:
    • System.ArgumentOutOfRangeException : InvalidArgument=Value of '0' is not valid for 'itemIndex'. (Parameter 'itemIndex')\r\nActual value was 0.

Stack trace:

 at System.Windows.Forms.ListView.GetSubItemRect(Int32 itemIndex, Int32 subItemIndex, ItemBoundsPortion portion) in /_/src/System.Windows.Forms/System/Windows/Forms/Controls/ListView/ListView.cs:line 3667
   at System.Windows.Forms.ListView.GetSubItemRect(Int32 itemIndex, Int32 subItemIndex) in /_/src/System.Windows.Forms/System/Windows/Forms/Controls/ListView/ListView.cs:line 3629
   at System.Windows.Forms.ListViewItem.ListViewSubItem.get_Bounds() in /_/src/System.Windows.Forms/System/Windows/Forms/Controls/ListView/ListViewItem.ListViewSubItem.cs:line 101
   at System.Windows.Forms.UITests.ListViewTests.<ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync>b__21_0(Form form, ListView listView) in /_/src/test/integration/UIIntegrationTests/ListViewTests.cs:line 494
   at System.Windows.Forms.UITests.ControlTestBase.<>c__DisplayClass32_0`1.<<RunFormAsync>b__0>d.MoveNext() in /_/src/test/integration/UIIntegrationTests/Infra/ControlTestBase.cs:line 317
--- End of stack trace from previous location ---
   at System.Windows.Forms.UITests.ControlTestBase.RunFormAsync[T](Func`1 createDialog, Func`3 testDriverAsync) in /_/src/test/integration/UIIntegrationTests/Infra/ControlTestBase.cs:line 343
   at System.Windows.Forms.UITests.ControlTestBase.RunSingleControlTestAsync[T](Func`3 testDriverAsync, Func`1 createControl, Func`1 createForm) in /_/src/test/integration/UIIntegrationTests/Infra/ControlTestBase.cs:line 246
   at System.Windows.Forms.UITests.ListViewTests.RunTestAsync(Func`3 runTest) in /_/src/test/integration/UIIntegrationTests/ListViewTests.cs:line 567
   at System.Windows.Forms.UITests.ListViewTests.ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync() in /_/src/test/integration/UIIntegrationTests/ListViewTests.cs:line 484
--- End of stack trace from previous location ---
@LeafShi1 LeafShi1 added the untriaged The team needs to look at this issue in the next triage label Apr 11, 2025
@LeafShi1 LeafShi1 added test-bug Problem in test source code (most likely) disabled-test Tracking tests that have been disabled to prevent run failures. and removed untriaged The team needs to look at this issue in the next triage needs-area-label labels Apr 11, 2025
Tanya-Solyanik pushed a commit that referenced this issue Apr 21, 2025
…olumn_Does_Not_Alter_CheckBoxesAsync (#13294)

Tracking the follow up investigation in #13288, #13291
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disabled-test Tracking tests that have been disabled to prevent run failures. test-bug Problem in test source code (most likely)
Projects
None yet
Development

No branches or pull requests

1 participant