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.

"-android viewmatcher" selector strategy

See original GitHub issue

We have the -android datamtacher selector strategy (see https://github.com/appium/appium-espresso-driver/pull/386)

We should also have a -android viewmatcher selector strategy so that we have all Espresso view-finding strategies covered.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jlippscommented, Nov 26, 2019

thanks @o-x-y-g-e-n, let us know if you need any help; it should be pretty straightforward hopefully to base your work off the datamatcher work.

0reactions
dpgrahamcommented, Nov 29, 2019

@o-x-y-g-e-n do you have a branch I can look at? The -view tag should be very similar to how -data tag works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The 'Android Data Matcher' Locator Strategy - HeadSpin
Basically, we need to use the -android datamatcher locator strategy, which in Java is accessed as MobileBy.androidDataMatcher. And for the ...
Read more >
ViewMatchers | Android Developers
Returns a matcher that matches android. widget. TextView based on it's color. Matches Views based on instance or subclass of the provided class....
Read more >
Espresso basics - Android Developers
ViewMatchers – A collection of objects that implement the ... The goal of this test is to open the Spinner , select a...
Read more >
ViewAssertions | Android Developers
Returns a generic ViewAssertion that asserts that a view exists in the view hierarchy and is matched by the given view matcher.
Read more >
Espresso recipes - Android Developers
ViewMatchers.isDisplayed import androidx.test.espresso.matcher.ViewMatchers.withId import org.hamcrest.Matchers.not onView(withId(R.id.bottom_left))
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