From ece077a503ee8acc9ec6cb574c6fa3f01aa7ff88 Mon Sep 17 00:00:00 2001 From: Mantas Date: Mon, 6 Sep 2021 15:33:26 +0300 Subject: [PATCH] Maintenance: remove unnecessary calls to await_empty_ajax_queue --- spec/system/ticket/zoom_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/system/ticket/zoom_spec.rb b/spec/system/ticket/zoom_spec.rb index 2c062df89..04f452625 100644 --- a/spec/system/ticket/zoom_spec.rb +++ b/spec/system/ticket/zoom_spec.rb @@ -949,7 +949,6 @@ RSpec.describe 'Ticket zoom', type: :system do it 'shows ticket state dropdown options in sorted translated alphabetically order' do visit "ticket/zoom/#{ticket.id}" - await_empty_ajax_queue expect(all('select[name=state_id] option').map(&:text)).to eq(%w[geschlossen neu offen]) end end @@ -961,7 +960,6 @@ RSpec.describe 'Ticket zoom', type: :system do it 'shows ticket state dropdown options in sorted order' do visit 'ticket/create' - await_empty_ajax_queue expect(all('select[name=state_id] option').map(&:text)).to eq ['-', 'geschlossen', 'neu', 'offen', 'warten auf Erinnerung', 'warten auf schliessen'] end end @@ -1738,8 +1736,6 @@ RSpec.describe 'Ticket zoom', type: :system do visit "ticket/zoom/#{ticket.id}" visit "ticket/zoom/#{target_ticket.id}" - await_empty_ajax_queue - ensure_websocket do visit 'dashboard' end