Maintenance: remove unnecessary calls to await_empty_ajax_queue
This commit is contained in:
parent
5a47caab33
commit
ece077a503
1 changed files with 0 additions and 4 deletions
|
@ -949,7 +949,6 @@ RSpec.describe 'Ticket zoom', type: :system do
|
||||||
it 'shows ticket state dropdown options in sorted translated alphabetically order' do
|
it 'shows ticket state dropdown options in sorted translated alphabetically order' do
|
||||||
visit "ticket/zoom/#{ticket.id}"
|
visit "ticket/zoom/#{ticket.id}"
|
||||||
|
|
||||||
await_empty_ajax_queue
|
|
||||||
expect(all('select[name=state_id] option').map(&:text)).to eq(%w[geschlossen neu offen])
|
expect(all('select[name=state_id] option').map(&:text)).to eq(%w[geschlossen neu offen])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -961,7 +960,6 @@ RSpec.describe 'Ticket zoom', type: :system do
|
||||||
it 'shows ticket state dropdown options in sorted order' do
|
it 'shows ticket state dropdown options in sorted order' do
|
||||||
visit 'ticket/create'
|
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']
|
expect(all('select[name=state_id] option').map(&:text)).to eq ['-', 'geschlossen', 'neu', 'offen', 'warten auf Erinnerung', 'warten auf schliessen']
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1738,8 +1736,6 @@ RSpec.describe 'Ticket zoom', type: :system do
|
||||||
visit "ticket/zoom/#{ticket.id}"
|
visit "ticket/zoom/#{ticket.id}"
|
||||||
visit "ticket/zoom/#{target_ticket.id}"
|
visit "ticket/zoom/#{target_ticket.id}"
|
||||||
|
|
||||||
await_empty_ajax_queue
|
|
||||||
|
|
||||||
ensure_websocket do
|
ensure_websocket do
|
||||||
visit 'dashboard'
|
visit 'dashboard'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue