Skip to content
Snippets Groups Projects
Commit d135916b authored by Mitul Shah's avatar Mitul Shah Committed by Thibault Delavallée
Browse files

[FIX] website_crm: fix random website_crm_pre_tour bug


Currently, The 'TestWebsiteCrm.test_catch_logged_partner_info_tour' is randomly
failing on runbot. The tour is triggered on contactus page. Tour bug is
occurring because editor may not be completely loaded. In that case some
selectors are not accessible.

This tour is linked with selectors. In this commit updates the selectors and
add the extra triggers in order to be sure editor is fully loaded and the
tour can resume.

Task-2649723

closes odoo/odoo#78512

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 1dc91c2b
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,12 @@ odoo.define('website_crm.tour', function(require) {
url: '/contactus?enable_editor=1',
}, [{
content: "Select contact form",
trigger: "section.s_website_form",
trigger: "#wrap.o_editable section.s_website_form",
extra_trigger: "body.editor_enable",
}, {
content: "Open action select",
trigger: "we-select:has(we-button:contains('Create an Opportunity')) we-toggler",
extra_trigger: "#oe_snippets .o_we_customize_snippet_btn.active",
}, {
content: "Select 'Create an Opportunity' as form action",
trigger: "we-select we-button:contains('Create an Opportunity')",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment