-
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
Rebuild the Xamarin.TestCloud nuget for .NET 6 #2416
Comments
@JohnHDev, hello. You mean Xamarin.TestCloud.Agent nuget package or Xamarin.UITest nuget package? |
It is the testcloud agent nuget, the one that is required by iOS projects. At the moment we can't migrate to .NET Maui due to this. |
@JohnHDev Okay, thank you for your request. We created a task for that. |
Excellent thank you! |
It's in our plans, but we don't have ETA for now. |
Thanks Alexey. |
We will reply to you when we'll finish the estimation |
Our organization has a plan to migrate to MAUI soon. I upvote this feature. |
This feature will be added in the new release soon. |
@IlyaBausovAkvelon any news on this pls? |
We would love this feature :-) |
Any update on this? .NET MAUI is now GA and we still can't run UI tests on iOS. |
Just weighing in with my strong, enthusiastic hope for this feature to arrive soon :-) thanks |
A client is deciding on a tech stack. |
Yes, please make this a top priority. We can't move to Maui without a replacement for automated ux testing. |
@AlexeyBudynkov it is now 3 months since we asked for this and we still can't create UI tests for iOS. If this isn't going to happen can you ask for it to be made open source pls, without seeing the source I suspect we might be able to do this ourselves in a day or 3. |
Hi @JohnHDev, thank you for your patience! Unfortunately, this feature takes more time to implement than we expected. It is currently in development and we will update everyone here once it is available. |
Hi @akamenev, we need some kind of eta, please. This year? Thanks |
Hi @akamenev, please provide an answer about Maui test support with some kind of real timeline or date estimations. thanks! |
Are we able to build .Net MAUI apps in App Center Build yet? |
@mnxamdev Hello. We're still working on it |
Upvote for .net maui support |
BrowserStack - but that cloud supports only Appium |
I don't know of any alternatives to AppCenter for iOS beside Apple's store, but would be interested if anyone had one. |
Any update on this? |
@akrol95 We are still working on that task. Unfortunately no ETA yet. Thank you for your patience. |
+1 for that, we invested quite a lot of time in these UI Tests and now simply can't run them. Happy to beta test a package early :) |
any news? |
This is very important one |
This one is a blocker |
My team is considering replacing TestCloud with local machines. I wonder how many teams will do the same. My biggest concern is the fact that MS team has no ETA. |
@krzbbaranowski what will you replace the test framework with? Ideally looking for a replacement for Xamarin.UITest in its entirety, but still be able to create UI tests with C#. |
To any who have ended up on this thread that have an alternative, please
post them here.
Thanks
…On Tue, Apr 4, 2023 at 11:27 PM JohnHDev ***@***.***> wrote:
@krzbbaranowski <https://github.com/krzbbaranowski> what will you replace
the test framework with? Ideally looking for a replacement for
Xamarin.UITest in its entirety, but still be able to create UI tests with
C#.
—
Reply to this email directly, view it on GitHub
<#2416 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMUG7OIZT7OZPJSI3ZMMSBTW7QARNANCNFSM5UHPUV4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Appium with BrowserStack in C# with NUnit. No backdoors though. |
Our team has started the transition to Appium with C# and xUnit. We've added up an interface to abstract platform-specific drivers so we can use a single code base for the UI tests. Benefit of Appium is that it works with Xamarin Forms app and our future MAUI version as well. |
@e1T How does Appium deal with automation on iOS? Xamarin UITest requires the iOS app is built with the Xamarin.TestCloud nuget installed with an initialiser for the library, is there not the same requirement with Appium? Looks like we will most likely go the same route as you. |
I was able to successfully get my application to have a basic test run against it today with Xamarin.UITest 4.1.3 in an NUnit 3 project targeting .NET 7. I'm not sure where the disconnect is between the MS dev team working on this and their inability to post a meaningful update in this issue, but I suspect this has been fixed on .NET 6/7 for a little while now. I don't have any super complicated test cases to try out with this at this time, but I'm curious if others can try Xamarin.UITest 4.1.3 and let me/us all know if your more advanced tests just work! |
@anxkha I presume you are referring to a UI test with an Android app, the issue here is that to run a UI test on iOS we need to install the TestCloud nuget, which we can't yet without it being rebuilt. Let us know though! :) |
@JohnHDev Ah yes, that's a fair point my bad on not fully understanding some of the concerns here (there's confusion earlier on in the thread about which package specifically). Our app is pretty specialized and only on Android so I was only concerned about that. That's disappointing that TestCloud hasn't been updated yet :( |
@vvechkanov any news? we are about to invest resources into moving from Xamarin UITest to Appium. We need to do this to be able to move to .NET Maui before Xamarin is deprecated. If it is no longer supported just say so. At the moment Microsoft is just wasting our time. |
Any news? |
Hi All! |
@IlyaBausovAkvelon thank you for the update. |
@IlyaBausovAkvelon I have spotted an issue with the nuget, release builds appear to be including the nuget and they fail on uploading to TestFlight. The Calabash.Start() code is wrapped in a ifdef for DEBUG, but I have worked around the issue with the following in the .csproj:
the error in the upload is: |
Same issue with non-public API Usage from App Store Connect:
|
@IlyaBausovAkvelon any comments on this? ideally need a fix, having to put conditions in the csproj isn't really ideal. |
@JohnHDev could you please clarify do you need Release configuration to test app on TestFlight? Answering your question: This is by design. We don't think that calabash and TestCloud.Agent package should be in release configurations. I think in your case it's better to customize the project file. |
@IlyaBausovAkvelon The builds we are uploading to TestFlight are release builds. The Xamarin.Calabash.Start(); code is wrapped in an IFDEF DEBUG && IOS, so isn't being called on a release build. However, something in the nuget means it is being included in the Release build when it should be linked out if there aren't any references. |
What if it's actually a dotnet trimmer's (Linker) issue? Looks like it's the trimmer's responsibility to not include assemblies wrapped in DEBUG or AD-HOC etc. |
I believe you are correct, I have updated Xamarin iOS projects to the latest Xamarin.TestCloud nuget and Im not seeing the same issue with Release builds. Im going to close this issue as the TestCloud nuget has now been updated to support .NET 6. |
Describe the solution you'd like
We need a new build of the Xamarin.TestCloud nuget for .NET 6. This is to allow .NET Maui projects to use UI tests on iOS.
.NET Maui is now in RC and is a supported product byMicrosoft, so dependencies like this need to be updated.
Describe alternatives you've considered
There isn't an alternative other than dropping Xamarin UITest and AppCenter altogether.
The text was updated successfully, but these errors were encountered: