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 67d410a8275..abf318fe33a 100644 --- a/addons/sale_timesheet/static/tests/tours/sale_timesheet_tour.js +++ b/addons/sale_timesheet/static/tests/tours/sale_timesheet_tour.js @@ -16,7 +16,7 @@ tour.register('sale_timesheet_tour', { content: 'Add the customer for this quotation (e.g. Brandon Freeman)', run: 'text Brandon Freeman', }, { - trigger: 'ul.o_partner_autocomplete_dropdown > li:first-child > a:contains(Freeman)', + trigger: 'div[name="partner_id"] ul > li:first-child > a:contains(Freeman)', content: 'Select the first item on the autocomplete dropdown', }, { @@ -78,7 +78,7 @@ tour.register('sale_timesheet_tour', { content: Markup('Select the customer of your Sales Order (e.g. Brandon Freeman). Since we have a Sales Order for this customer with a prepaid service product which the remaining hours to deliver is greater than 0, the Sales Order Item in the task should be contain the Sales Order Item containing this prepaid service product.'), run: 'text Brandon Freeman', }, { - trigger: 'ul.o_partner_autocomplete_dropdown > li:first-child > a:contains(Freeman)', + trigger: 'div[name="partner_id"] ul > li:first-child > a:contains(Freeman)', content: 'Select the customer in the autocomplete dropdown.', }, { trigger: 'a.nav-link:contains(Timesheets)', @@ -149,7 +149,7 @@ tour.register('sale_timesheet_tour', { content: Markup('Add the customer for this project to select an SO and SOL for this customer (e.g. Brandon Freeman).'), run: 'text Brandon Freeman', }, { - trigger: 'ul.o_partner_autocomplete_dropdown > li:first-child > a:contains(Freeman)', + trigger: 'div[name="partner_id"] ul > li:first-child > a:contains(Freeman)', content: 'Select the customer in the autocomplete dropdown', }, { trigger: 'a.nav-link[name="billing_employee_rate"]', @@ -202,7 +202,7 @@ tour.register('sale_timesheet_tour', { content: Markup('Add the customer for this project to select an SO and SOL for this customer (e.g. Brandon Freeman).'), run: 'text Brandon Freeman', }, { - trigger: 'ul.o_partner_autocomplete_dropdown > li:first-child > a:contains(Freeman)', + trigger: 'div[name="partner_id"] ul > li:first-child > a:contains(Freeman)', content: 'Select the customer in the autocomplete dropdown', }, { trigger: 'a.nav-link[name="billing_employee_rate"]',