Skip to content

Commit

Permalink
Increase rspec retry for the dynamic fields test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattia Roccoberton committed Mar 9, 2022
1 parent 68cef4b commit d40c550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/dynamic_fields_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_change_css(target, attrs1, attrs2, options = {})
end

context 'with some dynamic fields' do
it 'checks the conditions and actions', :aggregate_failures, retry: 2 do # rubocop:disable RSpec/ExampleLength
it 'checks the conditions and actions', retry: 3 do # rubocop:disable RSpec/ExampleLength, RSpec/MultipleExpectations
visit "/admin/posts/#{post.id}/edit"

expect(page).to have_css('#post_data_field_111[data-if="checked"][data-then="addClass red"][data-target="#post_data_field_111_input label"]')
Expand Down

0 comments on commit d40c550

Please sign in to comment.