Skip to content

Commit

Permalink
Kitchen sink
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-steve committed Dec 12, 2024
1 parent 9fb146d commit ec1472b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/features/autocomplete_typeahead_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec1472b

Please sign in to comment.