android / android/android-test

Swipes are not working on Pixel 6

Open
#1,395 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
342
Avg merge
11h 29m
Merged PRs (30d)
2

Description

### Description
Any swipe actions don't do anything more than press the screen in the same place on Pixel 6

### Steps to Reproduce
`onView(withId(R.id.recyclerView)).perform(swipeUp())`

### Expected Results
Should swipe up and the recyclerview scrolls

### Actual Results
The recyclerview is just pressed down

### AndroidX Test and Android OS Versions
Tesed with:

```
implementation("androidx.recyclerview:recyclerview:1.2.1")
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
```

On Pixel 6 with Android 12L beta and Android 13 Beta 3.

### Link to a public git repo demonstrating the problem:
See test:
[MyApplication.zip](https://github.com/android/android-test/files/8899092/MyApplication.zip)

Test works correctly on an emulator but not on Pixel 6

Contributor guide

Open the contributing guide

Research direction

Start with the provided MyApplication.zip reproduction and the Espresso `onView(withId(R.id.recyclerView)).perform(swipeUp())` test. Compare its behavior on a Pixel 6 running the listed Android versions with an emulator, then verify that the RecyclerView scrolls rather than only receiving a press.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.