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

Work together with RoboElectric #78

Open
slott opened this issue May 22, 2018 · 2 comments
Open

Work together with RoboElectric #78

slott opened this issue May 22, 2018 · 2 comments

Comments

@slott
Copy link

slott commented May 22, 2018

Hi there,

Seems its not possible to get this to play nicely with RoboElectric - or am I missing something ?

It would be quite EPIC if RoboElectric and okreplay could work together - making even faster and better tests.

@slott
Copy link
Author

slott commented May 23, 2018

Trying now to get a basic example working with Espresso... And here you state the following

  .tapeRoot(new AndroidTapeRoot(getContext(), getClass()))

And where exactly is the context suppose to come from ?

It would be very helpful if you could look through your howto and make it work.

@slott
Copy link
Author

slott commented May 24, 2018

Right - so finally figured out where the context was coming from

InstrumentationRegistry.getContext

so now everything should work - but it doesn't.

The OkReplayInterceptor isn't running. I can see that I need to call .start - but why isn't there a full example of all this ? Also the basic test that I have does nothing and the whole thing times out after 45 sec. with this error "... within 45 seconds. Perhaps the main thread has not gone idle within a reasonable amount of time?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant