Skip to content

Commit

Permalink
Removes check on test
Browse files Browse the repository at this point in the history
  • Loading branch information
HazelGrant committed Dec 16, 2024
1 parent 0a3a9ac commit d49db55
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions apps/dashboard/test/system/remote_files_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -319,17 +319,7 @@ def setup
attach_file 'files[]', src_file, visible: false, match: :first
find('.uppy-StatusBar-actionBtn--upload', wait: MAX_WAIT).click

# TODO: Investigate why this upload is failing the first time in the first place.
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
find('tbody a', exact_text: File.basename(src_file), wait: MAX_WAIT)
end
end
end
Expand Down

0 comments on commit d49db55

Please sign in to comment.