2
我只需要這兩杯咖啡中的一張即可通過。我怎樣才能做到這一點?如果其中一個ViewAssertion
s通過,我會很高興。意式濃縮咖啡 - 您如何執行OR(||)檢查?
onView(withId(R.id.mainview))
.check(
matches(not(isDisplayed()))
)
或
onView(withId(R.id.mainview))
.check(
doesNotExist()
)