Hey all,So forgive me if I sound like an idiot but I'm predominately a iOS developer but making the switch over to Android. I kinda feel like I'm fighting the framework right now which is why I'm posing this questions. I have a test fragment that reads:onView(withId(R.id.edittext_quotes_find_symbol)).perform(typeText("ADBE"));
Basically I'm searing for a stock symbol....this work all fine and dandy and the test passes. After typing in the text "ADBE" (adobe if you were curious) I'm automatically searching for the symbol with the text entered into the text field and the output is tossed into a list view that is populated once it's found.
onView(withId(R.id.listview_quotes_find_symbol_results))
.check(matches(withText("ADBE")));
The problem that I'm running into is that in my test environment it can take 3-4 seconds for the results to load. Is there some kind of "delay" or "wait for view" that I can use so that I can wait for the view to become available? Or can I change some sort of timer that my test will try to run for?
Thanks in advance for any thoughts and SO sorry for asking a newb question!
-Craig