add :text to have_selectors. _pipeline_material_revisions_html_spec.rb & material_search_html_spec.rb