Maintenance: Stabilize capybara test Manage > Calendars.
This commit is contained in:
parent
91e5392a83
commit
a4fb56400e
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue