wix / Detox

Gray box end-to-end testing and automation framework for mobile apps
https://wix.github.io/Detox/
MIT License
11.15k stars 1.92k forks source link

Swipe left is not working #2424

Closed DanielEliraz closed 3 years ago

DanielEliraz commented 3 years ago

Description

I'm using RNUILib Drawer with left and right items. I'm using kompot to test it. The swipe right works perfect but it cannot make the swipe left.

Reproduction

Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.

  1. clone https://github.com/wix-private/wix-one-app-notifications
  2. checkout delete-notification branch
  3. run npm test

Expected behavior

The delete test should do the swipe left

Screenshots

movie, the first 2 tries are detox tests, then I stopped the test and showed that I can do it manually

Environment (please complete the following information):

LeoNatan commented 3 years ago

@DanielEliraz What view are you passing to swipe? It looks like you are passing some small view on the left.

LeoNatan commented 3 years ago

Look at your test. You are swiping the unread indicator. How do you expect that to be swiped any further left?