winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Unstable unit test: System.Windows.Forms.UITests.NumericUpDownTests.NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync

Open LeafShi1 opened this issue 1 year ago • 0 comments

Related https://github.com/dotnet/winforms/issues/11227

Test

System.Windows.Forms.UITests.NumericUpDownTests.NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync

Issue description

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

Error Message:

  • In X64 unit:
    • Assert.NotNull() Failure: Value is null

Stack trace:

   at System.Windows.Forms.UITests.NumericUpDownTests.<NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync>b__1_0(Form form, NumericUpDown control) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/NumericUpDownTests.cs:line 26
   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) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Infra/ControlTestBase.cs:line 227
   at System.Windows.Forms.UITests.NumericUpDownTests.NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync() in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/NumericUpDownTests.cs:line 18
--- End of stack trace from previous location ---

LeafShi1 avatar May 08 '24 03:05 LeafShi1