Skip to content

Commit

Permalink
Update tests to include button verification
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-collier committed Nov 28, 2023
1 parent 0d21f60 commit d34ed36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/components/embed/media/embed_this_form_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
expect(page).to have_css('input#sul-embed-embed-title[type="checkbox"]')
expect(page).to have_css('input#sul-embed-embed[type="checkbox"]')
expect(page).to have_css('textarea#sul-embed-iframe-code')
expect(page).to have_css('button.copy-to-clipboard')
end
end

Expand All @@ -43,6 +44,7 @@
expect(page).to have_css('input#sul-embed-embed-search[type="checkbox"]')
expect(page).to have_css('input#sul-embed-embed[type="checkbox"]')
expect(page).to have_css('textarea#sul-embed-iframe-code')
expect(page).to have_css('button.copy-to-clipboard')
end
end
end

0 comments on commit d34ed36

Please sign in to comment.