Skip to content

Commit

Permalink
Fix failing tests (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder authored Jan 5, 2025
1 parent fc6155a commit dfc0940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staff_features/shared/step_definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
end

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

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

Expand Down

0 comments on commit dfc0940

Please sign in to comment.