Skip to content

Commit

Permalink
Try to fix a flaky test on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Aug 30, 2024
1 parent 72a3480 commit d2b36f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/features/home_page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
scenario "should have the library facet hidden by default", :js do
within(".blacklight-building_facet") do
expect(page).to have_button 'Library'
sleep 3 if ENV['CI']
expect(page).to have_css('#facet-building_facet.collapse', visible: false)
expect(page).to have_no_css('li a', visible: true)
end
end
Expand Down

0 comments on commit d2b36f5

Please sign in to comment.