[FIX] test_website: remove race condition and restore test
Commitfcb972dskipped a test on saas-12.2 after forward port as it was not working on that version. This commit restore the test and fix it. It was actually a race condition on the save step on edit mode. Something similar was done already for another test, see74a98ea. closes odoo/odoo#31465
This commit is contained in:
@@ -23,7 +23,7 @@ tour.register('test_reset_page_view_complete_flow_part1', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
content: "save the page",
|
content: "save the page",
|
||||||
extra_trigger: '#oe_structure_test_website_page .s_cover',
|
extra_trigger: '#oe_structure_test_website_page.o_dirty',
|
||||||
trigger: "#web_editor-top-edit button[data-action=save]",
|
trigger: "#web_editor-top-edit button[data-action=save]",
|
||||||
},
|
},
|
||||||
// 2. Edit that COW'd view in the HTML editor to break it.
|
// 2. Edit that COW'd view in the HTML editor to break it.
|
||||||
|
|||||||
Reference in New Issue
Block a user