Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] ListView is always missing first value when running Xamarin.UITests on iOS #15354

Open
ghost opened this issue May 5, 2022 · 5 comments
Labels
a/listview Problems with the ListView/TableView p/iOS 🍎 s/unverified New report that has yet to be verified t/bug 🐛

Comments

@ghost
Copy link

ghost commented May 5, 2022

Description

When I'm running UI Tests on iOS, first value on the ListView is always missing, and when I tap on the empty cell there is a crash. It looks like the DeviceAgent app that is running concurrently with the app and controls the UI Tests is somehow interfering with the ListView because as soon as I uninstall it, the ListView is displayed correctly again. I think it might have something to do with CachingStrategy="RecycleElementAndDataTemplate".

It's happening on the newest Xamarin.Forms version (5.0.0.2401) but when I rolled back to 5.0.0.1874 the list was displayed correctly

emptycell

@ghost ghost added s/unverified New report that has yet to be verified t/bug 🐛 labels May 5, 2022
@jfversluis jfversluis added p/iOS 🍎 a/listview Problems with the ListView/TableView labels May 10, 2022
@jfversluis
Copy link
Member

Yeah something seems to have broken with the recycle strategy there. You seem like you are down in the Xamarin.Forms woods if you are checking our UITests? :) if you would be willing and able I'd appreciate your help on this one!

@ghost
Copy link
Author

ghost commented May 10, 2022

What help do you need from me? It is me who is looking for help and for someone to fix this bug. I am not a Xamarin.Forms developer/contributor, just a tester. And because of this bug I can't run UI Tests properly in the app I'm testing.

@roxton001
Copy link

Any updates on this guys?

@Sanoop-PM
Copy link

Any update on this issue? We are seeing this issue in Xamarin.Forms version (5.0.0.2612)

@anubPep122
Copy link

Was there any update on this issue, we are also facing this issue and now we are blocked

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/listview Problems with the ListView/TableView p/iOS 🍎 s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

4 participants