[FIX] test_website: remove race condition and restore test

Commit fcb972d skipped 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, see 74a98ea.

closes odoo/odoo#31465
This commit is contained in:
Romain Derie
2019-02-27 14:42:47 +00:00
parent c8834073a7
commit 7c045dda0a
@@ -23,7 +23,7 @@ tour.register('test_reset_page_view_complete_flow_part1', {
},
{
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]",
},
// 2. Edit that COW'd view in the HTML editor to break it.