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

[Flaky Test] listviewlabeleditaccessibleobject_ispatternsupported_returnsexpected #8682

Closed
Tracked by #8607
runfoapp bot opened this issue Feb 23, 2023 · 3 comments
Closed
Tracked by #8607

Comments

@runfoapp
Copy link

runfoapp bot commented Feb 23, 2023

Runfo Tracking Issue: [Flaky Test] listviewlabeleditaccessibleobject_ispatternsupported_returnsexpected

Build Definition Kind Run Name
181185 dotnet-winforms CI PR 8672 Windows_arm64-xunit

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 1
@dreddy-work
Copy link
Member

Error message
System.NullReferenceException : Object reference not set to an instance of an object.
Stack trace
   at System.Windows.Forms.Tests.ListViewLabelEditAccessibleObjectTests.ListViewLabelEditAccessibleObject_IsPatternSupported_ReturnsExpected() in /_/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ListViewLabelEditAccessibleObjectTests.cs:line 67
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

@JeremyKuhne
Copy link
Member

The ListViewLabelEditAccessibleObjectTests tests depend on focus being set to have an active edit control- see CreateListViewAndStartEditing. This class should be in its own collection and run sequentially (which is the default for the methods inside of a given class).

Should look at other calls to SetFocus in tests to see if any other classes need the same treatment.

@ghost ghost added 🚧 work in progress Work that is current in progress and removed 🚧 work in progress Work that is current in progress labels Mar 14, 2023
@dreddy-work
Copy link
Member

closing against #8864.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants