Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Dec 24, 2024
1 parent 0f4bac6 commit d27a067
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions staff_features/shared/step_definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@
end

Then('the {string} created message is displayed') do |string|
wait_for_ajax if current_url.include? 'resources' || 'digital_objects'

expect(find('.alert.alert-success.with-hide-alert').text).to match(/^#{string}.*created.*$/i)
end

Expand Down

0 comments on commit d27a067

Please sign in to comment.