From ab922a2ed2a6aa927595aece5edc0ca9182aea36 Mon Sep 17 00:00:00 2001 From: Wieland Lindenthal Date: Fri, 1 Feb 2019 17:00:47 +0100 Subject: [PATCH] Fixes one flickering test in block_editing_spec.rb. --- modules/my_project_page/spec/features/block_editing_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/my_project_page/spec/features/block_editing_spec.rb b/modules/my_project_page/spec/features/block_editing_spec.rb index 01b6411ed2..eb847615d7 100644 --- a/modules/my_project_page/spec/features/block_editing_spec.rb +++ b/modules/my_project_page/spec/features/block_editing_spec.rb @@ -158,7 +158,7 @@ describe 'My project page editing', type: :feature, js: true do find('#a-form-submit').click # expect changes to be saved - expect(page).to have_selector('.widget-box--header', text: 'My title') + expect(page).to have_selector('.widget-box--header', text: 'My title', wait: 20) custom_block = find_block(hidden, :a)