diff --git a/apps/dashboard/test/system/remote_files_test.rb b/apps/dashboard/test/system/remote_files_test.rb index 5aadcb78a..240f08c71 100644 --- a/apps/dashboard/test/system/remote_files_test.rb +++ b/apps/dashboard/test/system/remote_files_test.rb @@ -322,9 +322,11 @@ def setup begin find('tbody a', exact_text: File.basename(src_file), wait: MAX_WAIT) rescue + find('#upload-btn').click + find('.uppy-Dashboard-AddFiles', wait: MAX_WAIT) attach_file 'files[]', src_file, visible: false, match: :first find('.uppy-StatusBar-actionBtn--upload', wait: MAX_WAIT).click - + find('tbody a', exact_text: File.basename(src_file), wait: MAX_WAIT) end end