question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App elements tree is not fully seen on React Native tvOS apps

See original GitHub issue

The problem

I have a tvOS react native app that I am testing. I am having a problem that not all the elements on the screen are accessible, when I am launching the app with the Appium Elements Inspector I am seeing that in some node the elements tree stop showing the elements under it.

Since my project based on React Native, I can also confirm that the same problem is happening when running the iOS Mobile app.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.15.1
  • Last Appium version that did not exhibit the issue (if applicable): None
  • Desktop OS/version used to run Appium: Desktop
  • Node.js version (unless using Appium.app|exe): 8.16.0
  • Npm or Yarn package manager: yarn
  • Mobile platform/version under test: tvOS (and iOS)
  • Real device or emulator/simulator: Apple TV Simulator (and iPhone X Simulator)
  • Appium CLI or Appium.app|exe: Appium.app

Details

Since my app is a React Native app, I took care to add to all the views testID with the expected value.

As you can see in the following image, all the elements that under the element 667c74d-09... are not accessible and I cannot dig inside the tree in the Elements Inspector tool: Screen Shot 2020-03-18 at 21 41 00

Link to Appium logs

https://assets-secure.applicaster.com/qa/zapp_qa/manual/boaz/tvOS.log

Code To Reproduce Issue [ Good To Have ]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
KazuCocoacommented, Mar 26, 2020

No, I don’t think so. This kind of issue is Appium server side.

1reaction
KazuCocoacommented, Mar 26, 2020

Okay, thanks. It will be appreciated leaving a message here if you can find a solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native on tvOS - React Native London - January 2018
Neil Kimmett (The App Business) - React Native on tvOS Not many people are aware you can use React Native to create Apple...
Read more >
How to Create Apple TV Application with React Native
How to create a React Native app for Apple TV, how to run the app, how to launch the dev menu, & how...
Read more >
Keeping up with React Native - Andrei Calazans
React Native never stops evolving, everyday there are new libraries and new updates to React Native core. This post is an organic article ......
Read more >
react-native-screens - npm
This project aims to expose native navigation container components to React Native. It is not designed to be used as a standalone library ......
Read more >
Building For TV Devices - React Native
Application code that needs to implement custom handling of TV remote events ... TextInput components do not work for now (i.e. they cannot ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found