[FIX] test_main_flows: mobile: use the search view to find the customer

The main flow tour has been disabled in error by the runbot team.
Unfortunately, some issue occured after after its reactivation
on the runbot.
This is probably due because some data has been added and the
customer no longer appears in the suggestions.

To fix this, we open the search view to find it.

closes odoo/odoo#55914

Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
Romeo Fragomeli
2020-08-14 08:02:37 +00:00
committed by Adrien Dieudonne
parent afe918c58e
commit 404928f02d
@@ -1024,13 +1024,9 @@ tour.stepUtils.mobileModifier(tour.stepUtils.autoExpandMoreButtons('.o_control_p
trigger: ".o_selected_row .o_field_widget[name=partner_id] input",
content: _t("Write the name of your customer."),
position: "bottom",
}, {
mobile: true,
trigger: ".o_kanban_record .o_kanban_record_title :contains('the_flow.customer')",
extra_trigger: ".modal:not(.o_inactive_modal) .modal-title:contains('Partner')",
content: _t('Save'),
position: 'right',
}, {
},
...tour.stepUtils.mobileKanbanSearchMany2X('Partner', 'the_flow.customer'),
{
edition: "enterprise",
trigger: ".o_selected_row .o_field_widget[name=payment_ref]",
content: _t("Let's enter a name."),