[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#78676 X-original-commit: d135916b754ae7fde184c4e2d69177dbc1dddc9d Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
bdd1f2062b
commit
be826aa88e
@@ -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')",
|
||||
|
||||
Reference in New Issue
Block a user