Fix OnView.checkDoesNotExist()
matches() shouldn't be used for not exist case as per documentation: "asserts that a view exists in the view hierarchy and is matched by the given view matcher."
This commit is contained in:
parent
233d304744
commit
05aea995e8
|
@ -19,7 +19,7 @@
|
|||
import studio.forface.easygradle.dsl.*
|
||||
import studio.forface.easygradle.dsl.android.*
|
||||
|
||||
libVersion = Version(1, 15, 4)
|
||||
libVersion = Version(1, 15, 5)
|
||||
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
|
|
|
@ -346,7 +346,7 @@ class OnView : ConditionWatcher {
|
|||
}
|
||||
|
||||
fun checkDoesNotExist() = apply {
|
||||
viewInteraction(matches(CoreMatchers.`is`(doesNotExist())))
|
||||
viewInteraction(doesNotExist())
|
||||
}
|
||||
|
||||
fun checkNotDisplayed() = apply {
|
||||
|
|
Loading…
Reference in New Issue