diff options
| author | Romain Derie <rde@odoo.com> | 2019-02-27 14:42:47 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-02-27 14:42:47 +0000 |
| commit | 7c045dda0ac017a6efd388bcd18637319d9ddbcd (patch) | |
| tree | 1a0fef0b7dd8e50e295d80f172024777aff58726 /addons/test_website/static/src/js | |
| parent | c8834073a7a867b30d2e95847b9b46bf02a4878f (diff) | |
[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
Diffstat (limited to 'addons/test_website/static/src/js')
| -rw-r--r-- | addons/test_website/static/src/js/reset_views.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/test_website/static/src/js/reset_views.test.js b/addons/test_website/static/src/js/reset_views.test.js index 957cda6d594..2b0e2b71a6b 100644 --- a/addons/test_website/static/src/js/reset_views.test.js +++ b/addons/test_website/static/src/js/reset_views.test.js @@ -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. |
