From ec1472b967cb4a6d400af804bc7209fa2af98cc2 Mon Sep 17 00:00:00 2001 From: Steve Taylor Date: Thu, 12 Dec 2024 13:35:25 -0800 Subject: [PATCH] Kitchen sink --- spec/features/autocomplete_typeahead_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/features/autocomplete_typeahead_spec.rb b/spec/features/autocomplete_typeahead_spec.rb index d96efc09f..f020eb5a3 100644 --- a/spec/features/autocomplete_typeahead_spec.rb +++ b/spec/features/autocomplete_typeahead_spec.rb @@ -46,12 +46,14 @@ # Open the multi-image selector and choose the last one click_link('Change') + + expect(page).to have_css('.thumbs-list li a img', count: 2) find('.thumbs-list li:last-child').click expect(page).to have_css('.leaflet-container', visible: true) - expect(page).to have_css('.leaflet-pane.leaflet-map-pane:not(.leaflet-zoom-anim)') click_button 'Save changes' + expect(page).to have_no_content('You can select and crop an image') expect(page).to have_content('The exhibit was successfully updated.') expect(page).to have_css('[data-panel-image-pagination]', text: /Image 2 of 2/, visible: true)