Skip to content

Commit

Permalink
Merge pull request #3745 from sul-dlss/fix-ci-excluded-tests
Browse files Browse the repository at this point in the history
Fix tests to reflect change in markup
  • Loading branch information
jcoyne authored Jan 17, 2024
2 parents fe0bd72 + f17d114 commit d0e00e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
within "#documents" do
expect(page).to have_css("h3.index_title a", count: 2)
end
within ".search-widgets" do
within ".sort-and-per-page" do
expect(page).to have_css("a", text: "Cite 1 - 2")
expect(page).to have_css("button", text: "Send 1 - 2")
expect(page).to have_no_css("button#select_all-dropdown")
Expand Down
2 changes: 1 addition & 1 deletion spec/features/blacklight_customizations/facets_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
skip('Fails intermitently on Travis.') if ENV['CI']
visit blacklight_advanced_search_engine.advanced_search_path

click_link "Resource type"
click_button "Resource type"
check "Book"

click_button "advanced-search-submit"
Expand Down
2 changes: 1 addition & 1 deletion spec/features/bookmarking_items_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

within('.modal-dialog') do
expect(page).to have_css('h4', text: 'MLA', count: 2)
click_link 'By citation format'
click_button 'By citation format'
expect(page).to have_css('h4', text: 'MLA', count: 1)
expect(page).to have_css('p.citation_style_MLA', count: 2)
end
Expand Down

0 comments on commit d0e00e2

Please sign in to comment.