-
Notifications
You must be signed in to change notification settings - Fork 223
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
[Xamarin.UITest][net8] System.Exception : file does not exist: {plistPath} #2584
Comments
Hi @jeromelaban, |
@jeromelaban How do you configure your app? Could you please show me line of code where you call ConfigureApp? |
+1 |
@IlyaBausovAkvelon this is how I configure the app
|
@IlyaBausovAkvelon apologies for the delay. I'm configuring the app this way. |
@jeromelaban @evgenyvalavin Thank you for sharing this. |
@IlyaBausovAkvelon I hope that the team is able to support .net 8. With Xamarin Forms still considered to be in support and Visual Studio for Mac as well, until summer and fall 2024, Xamarin UI Test 8 support would encourage and help other developers like me who are transitioning to Maui. |
@zippo227 for now we are not planning to add support for .NET 8. |
Hi @IlyaBausovAkvelon, I saw your post, and at that time, it made sense. I worked on backporting my application to .NET 7. I was actually able to start a set of unit tests in .NET 7, although I had to search for the simulator myself to be able to see it, and it could only run on iPhone 14. Unfortunately, my iOS tests did not complete. However, fortunately, I have gotten my Android tests to complete. I would just love to be able to run the same set of tests on iOS in .NET 8. For some reason, they cannot complete in .NET 7, and moreover, the MAUI app in .NET 7 looks completely different. I don't know why it would be so different, but it seems the fixes in .NET 8 are so substantial that it is the only platform that currently supports my application. I would just love to be able to run the UI tests in .NET 8 one last time to ensure parity. In search of an alternative, I have glanced at what could be available in Appium. However, there is no support for creating an Appium project. Please, if you could point me in the right direction. I have the automation IDs on my items. Thank you. |
@IlyaBausovAkvelon, please either update for NET8 or open-source the code so that we can better work around issues. Installing an app on a simulator and then launching it is as easy as:
And I wish the
|
@IlyaBausovAkvelon has Xamarin.UITest been deprecated? I haven't seen an announcement for that, and if not, then why won't .NET 8 be supported? We are using Xamarin.UITest to automate tests on out .NET Maui app, that's on .NET 8 but our test projects need to be .NET 7? Long term, will Xamarin.UITest be open sourced? Would be very useful if so. Thanks |
For those of you hitting this issue, the breaking change came with .NET 8, where The effect of this change is that Xamarin.UITest cannot find the A possible workaround is as follows, until Xamarin.UITest is fixed: ln -s ~/Library ~/Documents/Library This will make the simulator files visible to Xamarin.UITest. For the Microsoft team (@IlyaBausovAkvelon), the fix is to use |
Nice find. I will try this tomorrow in our own pipelines. It's almost as if AppCenter should pay you to do their work... |
Add workaround for microsoft/appcenter#2584
Hi all, |
@IlyaBausovAkvelon This is working for us! Thanks for the new release. |
@IlyaBausovAkvelon I have updated and now getting the following error: The path definitely exists however. Any pointers on what might be wrong? |
Add workaround for microsoft/appcenter#2584
@JohnHDev probably it's happening because of idb paths. Could you please try to use OverrideIDBPath when configure iOSApp? The OverrideIDBPath was added to 4.3.7 release. |
The initial issue was fixed, so I'm closing it. |
Using Xamarin.UITest 4.2.0 with .NET 8 Preview 7, testing with Xcode 14.3.1 in the iOS simulator fails with the error below.
The same tests works properly using .NET 7.0.400.
The text was updated successfully, but these errors were encountered: