Thursday, 19 November 2020

How can I write a test where I check if the view visibility is gone in Robolectric?

In Robolectric if I want to check if the view is visible I can do the following onView(Matchers.allOf(withId(R.id.btn_action))).check(matches(isDisplayed())) wondering what if the view visibility is gone, how can I check it in test ?



from How can I write a test where I check if the view visibility is gone in Robolectric?

No comments:

Post a Comment