Browse Source

Maintenance: Stabilize capybara test Manage > Calendars.

Martin Gruner 3 years ago
parent
commit
a4fb56400e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/system/manage/calendars_spec.rb

+ 1 - 1
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|