Maintenance: Add wait to wait properly for the correct owner list.
This commit is contained in:
parent
2b94843bb7
commit
9318f2046e
1 changed files with 1 additions and 0 deletions
|
@ -829,6 +829,7 @@ RSpec.describe 'Ticket Create', type: :system do
|
|||
end
|
||||
|
||||
it 'does show an empty list of owners' do
|
||||
wait(5).until { page.all('select[name=owner_id] option').count == 1 }
|
||||
expect(page.all('select[name=owner_id] option').count).to eq(1)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue