Skip to content

Commit

Permalink
fix test (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuynh333 authored Sep 24, 2024
1 parent 7d8d240 commit dfef760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/system/groups/attachments_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class AttachmentsTest < ApplicationSystemTestCase
within('dialog') do
attach_file 'attachment[files][]', [Rails.root.join('test/fixtures/files/TestSample_S1_L001_R2_001.fastq.gz'),
Rails.root.join('test/fixtures/files/TestSample_S1_L001_R1_001.fastq.gz')]
click_on I18n.t('projects.attachments.form.upload')
click_on I18n.t('attachments.dialogs.new_attachment_component.upload')
end
assert_selector '#attachments-table table tbody tr', count: 3
assert_text 'Displaying 1-3 of 3 items'
Expand Down
2 changes: 1 addition & 1 deletion test/system/projects/attachments_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class AttachmentsTest < ApplicationSystemTestCase
within('dialog') do
attach_file 'attachment[files][]', [Rails.root.join('test/fixtures/files/TestSample_S1_L001_R2_001.fastq.gz'),
Rails.root.join('test/fixtures/files/TestSample_S1_L001_R1_001.fastq.gz')]
click_on I18n.t('projects.attachments.form.upload')
click_on I18n.t('attachments.dialogs.new_attachment_component.upload')
end
assert_selector '#attachments-table table tbody tr', count: 3
assert_text 'Displaying 1-3 of 3 items'
Expand Down

0 comments on commit dfef760

Please sign in to comment.