expect (page) (page) .to have_text have_no_text

page. has_text? has_no_text?