microsoft / appcenter

Central repository for App Center open source resources and planning.
https://appcenter.ms
Creative Commons Attribution 4.0 International
1.01k stars 223 forks source link

Rebuild the Xamarin.TestCloud nuget for .NET 6 #2416

Closed JohnHDev closed 1 year ago

JohnHDev commented 2 years ago

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.

AlexeyBudynkov commented 2 years ago

@JohnHDev, hello. You mean Xamarin.TestCloud.Agent nuget package or Xamarin.UITest nuget package?

JohnHDev commented 2 years ago

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.

AlexeyBudynkov commented 2 years ago

@JohnHDev Okay, thank you for your request. We created a task for that.

JohnHDev commented 2 years ago

Excellent thank you! Any idea when this might be available?

AlexeyBudynkov commented 2 years ago

Excellent thank you! Any idea when this might be available?

It's in our plans, but we don't have ETA for now.

JohnHDev commented 2 years ago

Thanks Alexey. If there is anything you can do to push this forward, that would be appreciated. Migrating to .NET Maui is a high priority and we need to get all our dependencies updated, including this one. We have extensive UI testing that will need to support .NET 6, and all we need to do that is this updated nuget. I would do it myself if it were open source.

AlexeyBudynkov commented 2 years ago

Thanks Alexey. If there is anything you can do to push this forward, that would be appreciated. Migrating to .NET Maui is a high priority and we need to get all our dependencies updated, including this one. We have extensive UI testing that will need to support .NET 6, and all we need to do that is this updated nuget. I would do it myself if it were open source.

We will reply to you when we'll finish the estimation

kdharani commented 2 years ago

Our organization has a plan to migrate to MAUI soon. I upvote this feature.

IlyaBausovAkvelon commented 2 years ago

This feature will be added in the new release soon.

JohnHDev commented 2 years ago

@IlyaBausovAkvelon any news on this pls?

Slm0nB commented 2 years ago

We would love this feature :-)

JohnHDev commented 2 years ago

Any update on this? .NET MAUI is now GA and we still can't run UI tests on iOS. 'Soon' obviously means different things to different people...

dgerding commented 2 years ago

Just weighing in with my strong, enthusiastic hope for this feature to arrive soon :-) thanks

johnathan-s commented 2 years ago

A client is deciding on a tech stack.
I cannot advise to the client to go with .net MAUI until there is a clear and clean automated test solution to testing .net MAUI. Please put this at the top of the priority list. Thanks

dgerding commented 2 years ago

Yes, please make this a top priority. We can't move to Maui without a replacement for automated ux testing.

JohnHDev commented 2 years ago

@AlexeyBudynkov it is now 3 months since we asked for this and we still can't create UI tests for iOS. Would you advise dropping Xamarin UITest and AppCenter all together? We need better support than this.

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.

akamenev commented 2 years ago

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.

dgerding commented 2 years ago

Hi @akamenev, we need some kind of eta, please. This year? Thanks

dgerding commented 2 years ago

Hi @akamenev, please provide an answer about Maui test support with some kind of real timeline or date estimations. thanks!

mnxamdev commented 2 years ago

Are we able to build .Net MAUI apps in App Center Build yet?

AlexeyBudynkov commented 2 years ago

@mnxamdev Hello. We're still working on it

LarsNymand commented 2 years ago

Upvote for .net maui support

osieber commented 2 years ago

Upvote for .net maui support

JohnHDev commented 2 years ago

And now .net 7 is in preview for release in November… This was raised 5 months ago.

johnathan-s commented 2 years ago

Hello,

Some mention in the tubes that this is ongoing -> https://youtu.be/Bz1XLecJlXc?t=997

evgenyvalavin commented 1 year ago

.NET 7 is GA now. Still waiting for Xamarin.TestCloud.Agent to be updated

bvbellomo commented 1 year ago

Also waiting on this

JohnHDev commented 1 year ago

So, its 8 months since I reported this and we still can't run UI tests on .NET Maui iOS apps. Other than 1 comment in a YouTube video from Gerald Versluis that 'something' was coming, we are no further forward. @AlexeyBudynkov, @IlyaBausovAkvelon, @akamenev is there anything you can share on this? There are many of us that can't or just won't start migration to Maui without this.

IlyaBausovAkvelon commented 1 year ago

We are planning to release Xamarin.TestCloud.Agent package soon.

JohnHDev commented 1 year ago

@IlyaBausovAkvelon any progress on this?

If it helps, I tried adding Xamarin.TestCloud.Agent nuget to a .NET 6 and .NET 7 iOS project, the underlying error reported is: Package Xamarin.TestCloud.Agent 0.23.1 is not compatible with net6.0-ios16.0 (.NETCoreApp,Version=v6.0). Package Xamarin.TestCloud.Agent 0.23.1 supports: xamarinios (Xamarin.iOS,Version=v0.0)

The nuget needs to be updated to support .NET 6 and .NET 7 iOS runtimes.

pm90pl commented 1 year ago

What is the status? Is it possible to use Xamarin.UITest with iOS MAUI?

MikhailSuendukov commented 1 year ago

@JohnHDev @pm90pl We are still working on the release of Xamarin.TestCloud.Agent.

TheresasAccount commented 1 year ago

Are there any pre-release builds? Can we help test this?

shadyabarada commented 1 year ago

Hello @TheresasAccount , we are still working on a fix, and will only be able to share an official release when done. Thank you!

JohnHDev commented 1 year ago

Hello @TheresasAccount , we are still working on a fix, and will only be able to share an official release when done. Thank you!

@shadyabarada It's good to know this is being worked on, it would be even better to have this resolved before this ticket is 1 year old. ;)

krzbbaranowski commented 1 year ago

Hey, I assume you have some high-level estimation for NuGet release. Could you please share this information with us? :)

My team is under the migration to .net 6 and this is a serious blocker for us.

johnathan-s commented 1 year ago

@jfversluis Did you hear anything from your end?
When it is released, can you do an in-depth video on MAUI testing (as I suspect a lot of it will be updated/different)? thanks

IlyaBausovAkvelon commented 1 year ago

@krzbbaranowski hello! No, please wait for an official release!

JohnHDev commented 1 year ago

@IlyaBausovAkvelon We have been waiting. For 10 months.

An idea of how much longer we need to wait would be helpful and not an unreasonable thing to ask for.

IlyaBausovAkvelon commented 1 year ago

@JohnHDev we are working on it. Please wait for release.

anxkha commented 1 year ago

I definitely agree that at least a rough timeline would be better than "please wait for a release"...

That being said, I noticed that there was a 4.1.0 release of Xamarin.UITest 14 days ago that claims to target net6.0 now as well as net462. I have not had a chance to try this out, yet, but I will be soon!

https://www.nuget.org/packages/Xamarin.UITest/

evgenyvalavin commented 1 year ago

Waiting...

krzbbaranowski commented 1 year ago

Guys, I assume we will wait many months for an update (or never :)). So, my team probably will decide to use the other tool. Question to everyone, do you know any suitable alternative to AppCenter and TestCloud?

pm90pl commented 1 year ago

BrowserStack - but that cloud supports only Appium

bvbellomo commented 1 year ago

I don't know of any alternatives to AppCenter for iOS beside Apple's store, but would be interested if anyone had one.

akrol95 commented 1 year ago

Any update on this?

vvechkanov commented 1 year ago

@akrol95 We are still working on that task. Unfortunately no ETA yet. Thank you for your patience.

miszu commented 1 year ago

+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 :)

evgenyvalavin commented 1 year ago

any news?

MartinZikmund commented 1 year ago

This is very important one