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

Fix atIndex order on IOS #792

Closed
Gongreg opened this issue Jun 21, 2018 · 2 comments
Closed

Fix atIndex order on IOS #792

Gongreg opened this issue Jun 21, 2018 · 2 comments

Comments

@Gongreg
Copy link

Gongreg commented Jun 21, 2018

Description

Currently atIndex order is reverse. The first element rendered in screen has the biggest index when using atIndex. Order should be proper.

@LeoNatan
Copy link
Contributor

The order is not controlled by Detox. It is controlled by the layout and render systems (UIKit, Android, RN). atIndex is inherently broken API and should not be used. Instead, you can put a test ID per row, and then pick that row with byId.

@rotemmiz
Copy link
Member

Updated docs

Read more about dealing with multiple elements matching on the same matcher here

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants