diff --git a/test/system/uploads_test.rb b/test/system/uploads_test.rb index 5da22c9..65198e7 100644 --- a/test/system/uploads_test.rb +++ b/test/system/uploads_test.rb @@ -59,6 +59,7 @@ class UploadsTest < ApplicationSystemTestCase # Get details page of Firefox package visit package_path(name: 'firefox') + # Select a valid image for upload click_on 'Upload a screenshot' attach_file 'file[]', Rails.root.join('test/fixtures/files/large1.png'), visible: false