Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use Swipe along with atIndex #1461

Closed
1 task done
ReshmiCode opened this issue Jun 18, 2019 · 4 comments · Fixed by #1481
Closed
1 task done

cannot use Swipe along with atIndex #1461

ReshmiCode opened this issue Jun 18, 2019 · 4 comments · Fixed by #1481

Comments

@ReshmiCode
Copy link

ReshmiCode commented Jun 18, 2019

Describe the bug
You get thrown a multiple match error even when using atIndex with a swipe only on iOS. On Android it works.

To Reproduce

  • I have tested this issue on the latest Detox release and it still reproduces

The line is

await element(by.id('background'))
    .atIndex(0)
    .swipe('down', 'fast', 0.7);

Environment (please complete the following information):
Detox: 12.11.0
React Native: 0.59.8
Node: 10.15.3
Device: iPhone 7
Xcode: 10.2.1
iOS: 12.2
macOS: 10.14.3

Device and Verbose Detox Logs
error.txt

@LeoNatan
Copy link
Contributor

Please provide a clean project where this reproduces. I've seen this issue before, but nobody has been able to provide a clean (react-native init, no expo) project with this reproducing. Thanks

@ReshmiCode
Copy link
Author

ReshmiCode commented Jun 24, 2019

@LeoNatan I've made it and it reproduces. https://github.com/ReshmiCode/Detox-Test

@LeoNatan
Copy link
Contributor

Thanks, I will take a look at it.

@LeoNatan
Copy link
Contributor

Verified as a real issue. It's a problem in JS somewhere.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants