From a4fb56400e092ff0a8720546cb66215478891d8e Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Wed, 15 Sep 2021 16:12:57 +0200 Subject: [PATCH] Maintenance: Stabilize capybara test Manage > Calendars. --- spec/system/manage/calendars_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/manage/calendars_spec.rb b/spec/system/manage/calendars_spec.rb index eaa7812de..6b086a64e 100644 --- a/spec/system/manage/calendars_spec.rb +++ b/spec/system/manage/calendars_spec.rb @@ -33,7 +33,7 @@ RSpec.describe 'Manage > Calendars', type: :system do end end - wait(5).until_constant { find('.modal-dialog').style('height') } + wait(5).until_exists { find('.holiday_selector tr:nth-child(30)', wait: 0) } within '.modal-dialog' do row = first('.holiday_selector tr') do |elem|