linkedin / linkedin/test-butler

TestButler doesn't play nice with Lollipop

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1k
Forks
94
PR merge metrics
No merged PRs in 30d

Description

I'm not sure what is going on with TestButler with Lollipop but really weird things happen with our app when it's installed. Most importantly, touch events don't seem to be triggered correctly by Espresso, but even when testing manually clicking buttons does fire the touch feedback but the listener code is never fired.
We're using ButterKnife `@OnClick` if that matters.
I haven't had time to look into the specifics of why this happens, but maybe it's worth creating this to keep track and see if anyone else has seen this problem

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with TestButler on Lollipop, comparing Espresso touch events with manual button clicks and the reported ButterKnife @OnClick listeners. Done means identifying the cause and confirming that both touch events and click listeners fire correctly during testing.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.