-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Element Locating and Timeout #255
Comments
Can you provide some code please ? :D |
oh i would love to
Yeah i looked for each of the testID one by one but can't locate those. I am unaware of this. And maybe because i got the RoundButton that can animated or not? Thanks |
It's possible to add a test snippet for comparison ? :) |
|
|
Can you tell me what do you mean by interpolating? i am new so i am unsure. Can you explain a bit more? I put those information there to test different kind of testID |
When you write When you write
the Let's take a look at https://developers.google.com/web/updates/2015/01/ES6-Template-Strings I'm not sure this question is relevant to the detox internals. You may ask these kind of questions on https://stackoverflow.com/ |
oh yeah yeah i understand you now. The testID for the Sidemenu is |
Please provide the view hierarchy from Xcode. |
There are a few things which need clarification here:
|
@rotemmiz, sorry for not keeping update on this one. But can I ask what is being idle mean. Yeah Being honest, I thought the waitForAppear (in this case is wait for the new screen to appear). Seems like it doesn't do anything. And if the 'being IDLE' means that it would be unable to locate any element that have have animation? Because there is an animating button on the screen. Thanks for helping me |
So apparently there is a line saying that keeping track of pending animation, so if the button keeps animating like this. Then It will keep waiting? |
I have this timeout issue as well. Here is the crash log:
EDIT: Seems that my case is the same as #418 so I'll go there. Here is the full code on branch |
@heuism That line is about native animations. If you are using JS animations in RN, you need to take care of those. |
Some tests took longer time for it to find the element. And i tried on one screen that when the app navigated to the screen. Detox couldn't locate the element and kept looking for the element with the testID i gave it until timeout. I am unsure what is the issue of that.
Thanks
The text was updated successfully, but these errors were encountered: