diff --git a/spec/features/search_by_mdl_identifier_spec.rb b/spec/features/search_by_mdl_identifier_spec.rb index fd9e09e7..0d49ada9 100644 --- a/spec/features/search_by_mdl_identifier_spec.rb +++ b/spec/features/search_by_mdl_identifier_spec.rb @@ -10,6 +10,10 @@ click_on 'Search' result_link = find_link('A Statewide Movement for the Collection and Preservation of Minnesota\'s War Records') result_link.click + + expect(current_path).to eq('/catalog/spl:3207') + expect(all('.autocompleteText').size).to eq(1) + page_input = page.find('.autocompleteText') expect(page_input.value).to eq('9') end