-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android][UIAutomatorViewer] Missing Class attribute in UIAutomatorViewer #21238
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write |
We're also seeing this issue after upgrading from RN 0.55.4 to RN 0.57.1. Here's my
It seems that all views added to layouts by ReactNative are missing the Because of this, most of our automated tests are broken. One interesting observation: if we manually add a |
We are also experiencing this issue going from 0.55.4 to 0.57.1 |
The Appium team fixed There is a README.md file in the ZIP that explains it. The upshot is that if you install the two APKs to the device/emulator before you run the Appium tests, Appium will not overwrite them with its own, and you can find the elements again! Here is the Appium issue which indicated the fixes they made: appium/appium#11513 Also, RN has a commit (linked off the Appium issue) which may possibly help address the problem: fa6035b |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
The issue is no longer reproducible after updating RN. Closing the issue. |
Environment
Description
Since updating to newest React Native we have an issue with our test automation effort due to the fact that all elements in Android hierarchy are now missing a 'class' field. This makes xpath unusable anymore.
Please note that classes were previously present for all components. F.e: 'android.view.View', 'android.widget.EditText' etc.)
Screenshot from UIAutomatorViewer:
Reproducible Demo
The text was updated successfully, but these errors were encountered: