Maintenance: Improves reliability of TicketZoom Capybara/Rspec test
This commit is contained in:
parent
041bf51b52
commit
96f6376461
1 changed files with 3 additions and 1 deletions
|
@ -1191,8 +1191,10 @@ RSpec.describe 'Ticket zoom', type: :system do
|
||||||
|
|
||||||
def open_nth_item(nth)
|
def open_nth_item(nth)
|
||||||
within :active_content do
|
within :active_content do
|
||||||
find_all('.table tr.item .user-popover')[nth].click
|
find_all('.table tr.item a[href^="#ticket/zoom"]')[nth].click
|
||||||
end
|
end
|
||||||
|
|
||||||
|
await_empty_ajax_queue
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue