From b8f25798050e9f9625bee81b34b8a0f2bc3ac471 Mon Sep 17 00:00:00 2001 From: Laurent Smet Date: Fri, 16 Jun 2023 07:41:45 +0000 Subject: [PATCH] [IMP] test_main_flows: Add main flow to bank reco widget Adapt the main flow tour to the refactoring of the bank reco widget since the embedded form is now an owl component. closes odoo/odoo#119185 Task: 3193121 Related: odoo/upgrade#4776 Related: odoo/enterprise#40068 Signed-off-by: Habib Ayob (ayh) --- odoo/addons/test_main_flows/static/tests/tours/main_flow.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js index 786ea5b8f19..ab28450c37c 100644 --- a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js +++ b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js @@ -953,8 +953,7 @@ stepUtils.mobileModifier(stepUtils.autoExpandMoreButtons('.o_control_panel .o_br }, { mobile: false, edition: "enterprise", - trigger: "button[name='button_validate'].btn-primary", - extra_trigger: "button[name='button_validate'].btn-primary", + trigger: "button.btn-primary:contains('Validate')", content: _t("Reconcile the bank transaction"), }, // exit reconciliation widget