spec/support/features/batch_edit_actions.rb in hyrax-2.1.0.beta2 vs spec/support/features/batch_edit_actions.rb in hyrax-2.1.0.rc1
- old
+ new
@@ -15,10 +15,10 @@
find("##{field_id}_save").click
# This was `expect(page).to have_content 'Changes Saved'`, however in debugging,
# the `have_content` check was ignoring the `within` scoping and finding
# "Changes Saved" for other field areas
- find('.status', text: 'Changes Saved')
+ find('.status', text: 'Changes Saved', wait: 5)
end
end
end
def batch_edit_expand(field)