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

Asynchronous function issue #406

Closed
heuism opened this issue Nov 14, 2017 · 1 comment
Closed

Asynchronous function issue #406

heuism opened this issue Nov 14, 2017 · 1 comment

Comments

@heuism
Copy link

heuism commented Nov 14, 2017

I hope that the idea that I am saying will make sense.

FYI, The issue right now is that because of the asynchronous therefore when It look for the components, it still say it pass

This one is an example:

        tail -F $HOME/Library/Developer/CoreSimulator/Devices/47F630BB-0129-447A-AAA3-29B45114D902/data/tmp/detox.last_launch_app_log.{out,err} 
  Simple Cases
    ✓ should have welcome screen (10781ms)
    1) should click the ABOUT US button

Then later on, it failed because it can't locate the welcome screen. Which is really hard to debug in the long run if we have a lot of asynchronous function.

I am not sure is there a way to run it in synchronous? Or running these tests as asynchronous is the proper way to deal with testing.

Thanks.

@LeoNatan
Copy link
Contributor

This is how the API is intended. However a following test will not proceed until the previous is finished.

@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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants