diff --git a/spec/system/admin/products_v3/update_spec.rb b/spec/system/admin/products_v3/update_spec.rb index fec4236177..8537103d09 100644 --- a/spec/system/admin/products_v3/update_spec.rb +++ b/spec/system/admin/products_v3/update_spec.rb @@ -682,6 +682,12 @@ RSpec.describe 'As an enterprise user, I can update my products' do end end + it "fails intentionally to generate screenshot" do + within ".reveal-modal" do + expect(page).to have_content "This text does not exist" + end + end + it 'shows a modal telling not a valid image when uploading a non valid image file' do within ".reveal-modal" do attach_file 'image[attachment]',