Open anpin opened 2 years ago
Hey @anpin, thanks for taking a look at Legerity (and apologies for replying to this SO late! 🤦
I'll take a look into this. I've not tested Legerity with MAUI yet, I've only validated it with Xamarin applications. I have a feeling that MAUI is using WinUI3 for Windows apps and this may not be supported by the WinAppDriver yet.
I'll validate this assumption and get back to you!
Describe the bug
Hi, first thanks for your effort with this project it really seems like I can optimize my UI tests with it. Second, I'm trying to test sample MAUI app and unfortunately my basic test is failing on Windows, but running fine on Android and I'm yet to try iOS.
I've looked at the samples and figured I have to use different methods for constructing the test page depending on a platform, so I did this
What is the expected behavior?
Test is able to discover an element using its AutomationId across multiple platforms using a single method e.g.
By.Id(automationId)
Package
No response
Other information
You can find repro here https://github.com/anpin/maui_ui_tests