hasVisibleTextMatching
Tests if any view in the hierarchy under the root, for which the path is visible, has text that matches the given regular expression
Return
the assertions object
Parameters
pattern
the regular expression to match against