Skip to content

Commit

Permalink
attempting to fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
ksierks committed Oct 15, 2024
1 parent 246dc7c commit 957531a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/system/projects/samples_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,19 @@ class SamplesTest < ApplicationSystemTestCase
visit namespace_project_samples_url(namespace1, project2)
assert_text strip_tags(I18n.t(:'viral.pagy.limit_component.summary', from: 1, to: 20, count: 220,
locale: @user.locale))
<<<<<<< HEAD
=======

click_button I18n.t(:'projects.samples.index.select_all_button')

within 'tbody' do
assert_selector 'input[name="sample_ids[]"]:checked', count: 20, wait: 1
end
within 'tfoot' do
assert_text 'Samples: 220'
assert_selector 'strong[data-selection-target="selected"]', text: '220'
end
>>>>>>> a8eb74e2a (attempting to fix flaky test)
end

test 'empty state of transfer sample project selection' do
Expand Down

0 comments on commit 957531a

Please sign in to comment.