Skip to content
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

Unstable unit test: System.Windows.Forms.UITests.ButtonTests.Button_Press_Enter_Fires_OnClickAsync #11327

Open
LeafShi1 opened this issue May 8, 2024 · 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 May 8, 2024

Related #11227

Test

System.Windows.Forms.UITests.ButtonTests.Button_Press_Enter_Fires_OnClickAsync

Issue description

The case failed in X64 unit tests, the failure link:

Error Message:

  • In X64 unit:
    • Assert.True() Failure
      Expected: True
      Actual: False

Stack trace:

   at System.Windows.Forms.UITests.ButtonTests.<Button_Press_Enter_Fires_OnClickAsync>b__13_0(Form form, Button button) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/ButtonTests.cs:line 340
   at System.Windows.Forms.UITests.ControlTestBase.<>c__DisplayClass32_0`1.<<RunFormAsync>b__0>d.MoveNext() in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Infra/ControlTestBase.cs:line 315
--- End of stack trace from previous location ---
   at Microsoft.VisualStudio.Threading.JoinableTask.JoinAsync(CancellationToken cancellationToken)
   at System.Windows.Forms.UITests.ControlTestBase.RunFormAsync[T](Func`1 createDialog, Func`3 testDriverAsync) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Infra/ControlTestBase.cs:line 339
   at System.Windows.Forms.UITests.ControlTestBase.RunSingleControlTestAsync[T](Func`3 testDriverAsync, Func`1 createControl, Func`1 createForm) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Infra/ControlTestBase.cs:line 246
   at System.Windows.Forms.UITests.ButtonTests.RunTestAsync(Func`3 runTest) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/ButtonTests.cs:line 385
   at System.Windows.Forms.UITests.ButtonTests.Button_Press_Enter_Fires_OnClickAsync() in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/ButtonTests.cs:line 327
--- 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 May 8, 2024
@elachlan elachlan added the test-bug Problem in test source code (most likely) label May 8, 2024
@LeafShi1 LeafShi1 added 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 labels May 8, 2024
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

2 participants