From ac93a9047742000abf2fd528717d80807ac85089 Mon Sep 17 00:00:00 2001 From: ulferts Date: Fri, 20 Sep 2019 14:53:58 +0200 Subject: [PATCH] attempt to stabilize flickering spec --- modules/my_page/spec/features/my/assigned_to_me_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/my_page/spec/features/my/assigned_to_me_spec.rb b/modules/my_page/spec/features/my/assigned_to_me_spec.rb index 8582f9bf34..fb9bd69ce5 100644 --- a/modules/my_page/spec/features/my/assigned_to_me_spec.rb +++ b/modules/my_page/spec/features/my/assigned_to_me_spec.rb @@ -180,7 +180,7 @@ describe 'Assigned to me embedded query on my page', type: :feature, js: true do assigned_area.resize_to(1, 2) - sleep(0.1) + my_page.expect_and_dismiss_notification message: I18n.t('js.notice_successful_update') assigned_area.expect_to_span(1, 1, 2, 3) # has been moved down by resizing