diff --git a/addons/sale_timesheet/static/tests/tours/sale_timesheet_tour.js b/addons/sale_timesheet/static/tests/tours/sale_timesheet_tour.js index b1197a158a2..981d8a10c9a 100644 --- a/addons/sale_timesheet/static/tests/tours/sale_timesheet_tour.js +++ b/addons/sale_timesheet/static/tests/tours/sale_timesheet_tour.js @@ -160,7 +160,7 @@ tour.register('sale_timesheet_tour', { content: 'Select a Sales Order Item as Default Sales Order Item for each task in this project.', run: 'text S', }, { - trigger: 'ul.ui-autocomplete > li:first-child > a', + trigger: 'ul.ui-autocomplete > li:first-child > a:not(:has(i.fa))', content: 'Select the Sales Order Item in the autocomplete dropdown.', }, { trigger: 'div[name="sale_line_employee_ids"] td.o_field_x2many_list_row_add > a[role="button"]', @@ -168,8 +168,9 @@ tour.register('sale_timesheet_tour', { }, { trigger: 'div[name="sale_line_employee_ids"] div[name="employee_id"] input', content: 'Select an employee to link a Sales Order Item on his timesheets into this project.', + run: 'click', }, { - trigger: 'ul.ui-autocomplete > li:first-child > a', + trigger: 'ul.ui-autocomplete > li:first-child > a:not(:has(i.fa))', content: 'Select the first employee in the autocomplete dropdown', }, { trigger: 'div[name="sale_line_employee_ids"] div[name="sale_line_id"] input', @@ -177,7 +178,7 @@ tour.register('sale_timesheet_tour', { position: 'bottom', run: 'text S', }, { - trigger: 'ul.ui-autocomplete > li:first-child > a', + trigger: 'ul.ui-autocomplete > li:first-child > a:not(:has(i.fa))', content: 'Select the first Sales Order Item in the autocomplete dropdown.', }, { trigger: 'h1 > div[name="name"] > input', @@ -212,7 +213,7 @@ tour.register('sale_timesheet_tour', { content: 'Select the first sale order of the list', run: 'text Prepaid', }, { - trigger: 'ul.ui-autocomplete > li:first-child > a', + trigger: 'ul.ui-autocomplete > li:first-child > a:not(:has(i.fa))', content: 'Select the first item on the autocomplete dropdown', }, { trigger: '.o_form_button_save',