In the imageable_attach_new_file method used in these tests the: > expect(page).to have_css ".loading-bar.complete" is already being checked, so there is no need to verify it twice.