Attempt to avoid test flickering

pull/6827/head
Henriette Dinger 6 years ago
parent b82b11a94f
commit 5ad0aaaa66
  1. 2
      spec/features/attachment_upload_spec.rb

@ -56,6 +56,7 @@ describe 'Upload attachment to overview page', js: true do
within '.textile-form' do
expect(page).to have_selector('attachment-list-item', text: 'image.png')
expect(page).not_to have_selector('notification-upload-progress')
click_on 'Save'
end
@ -77,6 +78,7 @@ describe 'Upload attachment to overview page', js: true do
within '.textile-form' do
expect(page).to have_selector('attachment-list-item', text: 'image.png', count: 2)
expect(page).not_to have_selector('notification-upload-progress')
click_on 'Save'
end

Loading…
Cancel
Save