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

[Bug] Xamarin IOS UIPickerView issue with Appium Inspector #11392

Closed
srikcgaa2 opened this issue Jul 10, 2020 · 3 comments
Closed

[Bug] Xamarin IOS UIPickerView issue with Appium Inspector #11392

srikcgaa2 opened this issue Jul 10, 2020 · 3 comments
Labels
s/unverified New report that has yet to be verified t/bug 🐛

Comments

@srikcgaa2
Copy link

srikcgaa2 commented Jul 10, 2020

Description

Loading the UIPickerView in Appium Inspector does not load the XML page source. This issue works with Xamarin.Forms 3.5 but not working with Xamarin.Forms 4.5 (may be even older version but not checked) as well as in the latest 4.7.0.1080

Steps to Reproduce

  1. Extract and open the attached file (PickerView-4.7.zip)
  2. Launch on iPhone 11 - 13.5 Simulator
  3. Launch Appium Desktop and Start Inspector Session

Expected Behavior

XML Dump of the page should be loaded (PickerDump.xml.zip)

Actual Behavior

  • Appium Desktop Inspector is unable to load the XML dump.
  • If I run the Xamarin.IOS app in Debug mode on iPhone 11 13.5 Simulator, the following line appears continuously in the Application Output window of Visual Studio for Mac

[AXAppAccessibility] Could not find my mock parent, most likely I am stale.

The above steps work with Xamarin.Forms 3.5 (PickerView 3.5.zip)

Basic Information

  • Version with issue: 4.5.0.495

  • Last known good version: Xamarin.Forms 3.5.0.169047

  • IDE: Visual Studio for Mac 8.6.5 (Enterprise)

  • Platform Target Frameworks:

    • iOS: 13.18.2.1 (Visual Studio Enterprise)
  • Nuget Packages:
    Xamarin.Forms

  • Affected Devices:
    iOS 13.5

  • Appium versions
    App Version: 1.17.1-1
    Electron: 7.2.4
    Node.js: 12.8.1

  • Appium Desired Capability Set

{
  "automationName": "XCUITest",
  "platformName": "iOS",
  "platformVersion": "13.5",
  "deviceName": "iPhone 11",
  "fullReset": false,
  "noReset": true
}

Workaround

Downgrade to Xamarin.Forms 3.5.0

@srikcgaa2 srikcgaa2 added s/unverified New report that has yet to be verified t/bug 🐛 labels Jul 10, 2020
@pauldipietro pauldipietro added this to New in Triage Jul 10, 2020
@PureWeen
Copy link
Contributor

This should be fixed by this PR
#11077

The nuget for this Issue is here
https://dev.azure.com/xamarin/public/_build/results?buildId=21211&view=artifacts&type=publishedArtifacts

If you want to test and let me know

Triage automation moved this from New to Closed Jul 10, 2020
@srikcgaa2
Copy link
Author

srikcgaa2 commented Jul 12, 2020

@PureWeen Thanks for the build. I did a quick test on iPhone Simulator by upgrading the NuGet with the version provided and it seems to be fixing the issue reported. This was a sample app created using the controls and renderers used in one of our actual application. Will do more test on that app and also on real iPhones as well. But this is great progress. Thanks a lot.

@srikcgaa2
Copy link
Author

@PureWeen, @samhouts After several tests with our app, this seems to be working pretty well and fixes most of the issues that were not working after we upgraded to 4.x. Also, the performance has improved significantly as well on several of the pages, in the order of 8 to 10 times faster with this upgrade.

Any idea, when this change will be available in an official release? Will it be part of the Sprint 173 release coming up next?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

2 participants