android / android/android-test
Make `WithEffectiveVisibilityMatcher` print a log detailing which view had the wrong visibility
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
### Description
When using EffectiveVisibilityMatcher it would be very helpful to know WHICH view had the wrong visibility.
It could be the view itself or any in the parent hierarchy.
It should use `HumanReadables.getViewHierarchyErrorMessage` to print a message detailing which views triggered the matcher to return false.
This is especially useful when `WithEffectiveVisibilityMatcher` is used in `getConstraints`
### AndroidX Test and Android OS Versions
AndroidX Test 1.3.0
Contributor guide
Research direction
Start with WithEffectiveVisibilityMatcher and HumanReadables.getViewHierarchyErrorMessage, then trace how the matcher is used in getConstraints. Done means a failed visibility match logs which view or parent-hierarchy views caused the matcher to return false, including when used through getConstraints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100