From 289582bc2a63311800d3c8cd18bdc8bcadb2a5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Ku=CC=88hn?= Date: Thu, 30 Nov 2017 09:25:36 +0100 Subject: [PATCH] [FIX] test_main_flows: rename menu entry 'Catalog', workaround for the_flow.customer Menu entry 'Catalog' has been renamed into 'Products' (see https://github.com/odoo/odoo/commit/941037194d0644a0f2d3348aedd888bce5b1eb74) The step 'the_flow.customer' with enterprise fails due to an unexpected out-of-focus issue. --- odoo/addons/test_main_flows/static/src/js/tour.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/odoo/addons/test_main_flows/static/src/js/tour.js b/odoo/addons/test_main_flows/static/src/js/tour.js index aada75ea2f4..b59aaff1d5c 100644 --- a/odoo/addons/test_main_flows/static/src/js/tour.js +++ b/odoo/addons/test_main_flows/static/src/js/tour.js @@ -16,7 +16,7 @@ tour.register('main_flow_tour', { }, { // Add Stockable product edition: "enterprise", - trigger: ".o_menu_sections a:contains('Catalog')", + trigger: ".o_menu_sections a:contains('Products')", extra_trigger: '.o_main_navbar', content: _t("Let\'s create products."), position: "bottom", @@ -646,6 +646,7 @@ tour.register('main_flow_tour', { }, { edition: "enterprise", trigger: ".ui-menu-item > a:contains('the_flow.customer')", + in_modal: false, auto: true, }, { edition: "enterprise",