You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when there are multiple "someOtherID" elements. It looks like it's ignoring atIndex
To Reproduce
[X ] I have tested this issue on the latest Detox release and it still reproduces
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.
Perform a waitFor and a scroll for an element that displays multiple times on the screen
If possible, please provide a small demo project that reproduces the issue, or attach a video with the reproduction - this would be very appreciated.
Expected behavior
It should not throw Multiple Elements were matched error
Screenshots
Environment (please complete the following information):
Detox: 12.7.0
React Native: 57.3
Node: 10.14.2
Device: iPhone 7
Xcode: 10.2
iOS: 12.2
macOS: Mojave
The text was updated successfully, but these errors were encountered:
Describe the bug
await waitFor(element(by.id("someID"))).toBeVisible(); await waitFor(element(by.id(
someOtherID)).atIndex(0)) .toBeVisible() .whileElement(by.id("someID")) .scroll(200, "down");
results in
"Description": Multiple elements were matched:
when there are multiple "someOtherID" elements. It looks like it's ignoring atIndex
To Reproduce
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.
Perform a waitFor and a scroll for an element that displays multiple times on the screen
If possible, please provide a small demo project that reproduces the issue, or attach a video with the reproduction - this would be very appreciated.
Expected behavior
It should not throw Multiple Elements were matched error
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: