aws-samples / aws-samples/aws-device-farm-sample-app-for-android

How to run test cases for multiple activities

Open
#17 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
174
Forks
205
PR merge metrics
No merged PRs in 30d

Description

Hello Guys,

I am new to espresso and i am able to run single test cases for an activity successfully what if i have multiple activities to test.
The espresso is unable to find the view getting below mentioned error:

`androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: com.fourtek.phonebook:id/llListItem`

Contributor guide

Open the contributing guide

Research direction

The issue names an Espresso test, multiple activities, and the llListItem view ID but no source file or test path. Start by reproducing the NoMatchingViewException and inspect the view hierarchy for the activity under test; done means establishing why llListItem is unavailable and documenting or correcting the test setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.