matches(not(isDisplayed())) fails with NoMatchingViewException

Need to use doesNotExist() instead.
Found here.

If the view is there in the view hierarchy but in an invisible state (visibility is set to ‘INVISIBLE’), use not(isDisplayed). However, if the view is not there at all in the view hierarchy (e.g. visibility set to ‘GONE’), doesNotExist() is used.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)