From 5ad0aaaa6632cae168ac4b27b4e496aef15f8d53 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Thu, 11 Oct 2018 10:04:36 +0200 Subject: [PATCH] Attempt to avoid test flickering --- spec/features/attachment_upload_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/features/attachment_upload_spec.rb b/spec/features/attachment_upload_spec.rb index ffd9730d1d..afdb62e136 100644 --- a/spec/features/attachment_upload_spec.rb +++ b/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