Xamarin.UI tests can't tap on any element inside Tabbed Page

Here it is a result of tree command for Android

tree

[[object CalabashRootView] > DecorView]
[LinearLayout > FrameLayout]
[FitWindowsFrameLayout] id: "action_bar_root"
[ContentFrameLayout > ... > PlatformRenderer] id: "content"
[CustomNavigationRenderer] id: "NoResourceEntry-92"
[PageContainer] id: "NoResourceEntry-108"
[View] id: "navigationBarBackground"
[View] id: "statusBarBackground"

On iOS it works but nor for Android. It can't tap on any control inside tabbed page

Answers

  • nmilcoff0nmilcoff0 Member

    Were you able to solve this? I'm experiencing the exact same issue.

    This is my repl tree output:

    [[object CalabashRootView] > DecorView]
    [LinearLayout > FrameLayout]
    [FitWindowsFrameLayout] id: "action_bar_root"
    [ContentFrameLayout > ... > PlatformRenderer] id: "content"
    [NavigationPageRenderer] id: "NoResourceEntry-25"
    [PageContainer] id: "NoResourceEntry-27"
    [View] id: "navigationBarBackground"
    [View] id: "statusBarBackground"

  • asmykasmyk Member ✭✭
    @nmilcoff0 Not almost. I decided to tap on the elements on Android using coordinates. And then I moved this approach to the iOS tests too
Sign In or Register to comment.