-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Add default packages to uiautomator id search #4467
Conversation
|
Given an element with resource id: com.example.android.testing.espresso.BasicSample:id/textToBeChanged Now we can find this element using only id('textToBeChanged') In addition to checking the default package name, the android package is also searched: android:id/textToBeChanged
👍 though maybe let's hold off on merging since we're about to publish 1.3.5 |
Can one of the admins verify this patch? |
what does this even mean? who is an |
I think this is a cloudbees thing @sebv is working on. Seems like when one of us replies to this, then additional builds are run? |
added to 1.3.6 (cc @0x1mason) |
retest this please |
1 similar comment
retest this please |
@sebv NullRef during CI. Filed a ticket. |
Retest this please |
@sebv I don't want to merge this until we get the null ref sorted. Any ideas on what might be the issue? |
not sure why that build had an NPE. i checked out your branch and ran the tests, it looks good. |
Add default packages to uiautomator id search
Given an element with resource id: com.example.android.testing.espresso.BasicSample:id/textToBeChanged
Now we can find this element using only id('textToBeChanged')
In addition to checking the default package name, the android package is also searched:
android:id/textToBeChanged
Fix #4416
I'm working on DroidDriver and the need to fully qualify the ids was getting annoying.