-
- Downloads
[FIX] web_editor: fix html table paste tests
Those tests happened to fail nondeterministically for no apparent
reason and with multiple different wrong tests results.
Some of those wrong results were particularly striking like having
completely empty contents, while others looked more like some kind
of race condition.
Aiming to kill two birds with one stone, I moved the html contents
of the tests into their very own test file so that no asynchronous
file loading on the server is done during testing at runtime anymore.
closes odoo/odoo#125020
Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
Showing
- addons/web_editor/static/lib/odoo-editor/test/editor-test.js 1 addition, 0 deletionsaddons/web_editor/static/lib/odoo-editor/test/editor-test.js
- addons/web_editor/static/lib/odoo-editor/test/spec/copyPaste.test.js 2 additions, 63 deletions...editor/static/lib/odoo-editor/test/spec/copyPaste.test.js
- addons/web_editor/static/lib/odoo-editor/test/spec/htmlTables.test.js 498 additions, 0 deletions...ditor/static/lib/odoo-editor/test/spec/htmlTables.test.js
- addons/web_editor/static/lib/odoo-editor/test/spec/html_tables/excel_result.html 0 additions, 30 deletions...c/lib/odoo-editor/test/spec/html_tables/excel_result.html
- addons/web_editor/static/lib/odoo-editor/test/spec/html_tables/google_clipboard.html 0 additions, 63 deletions...b/odoo-editor/test/spec/html_tables/google_clipboard.html
- addons/web_editor/static/lib/odoo-editor/test/spec/html_tables/google_result.html 0 additions, 39 deletions.../lib/odoo-editor/test/spec/html_tables/google_result.html
- addons/web_editor/static/lib/odoo-editor/test/spec/html_tables/libre_clipboard.html 0 additions, 87 deletions...ib/odoo-editor/test/spec/html_tables/libre_clipboard.html
- addons/web_editor/static/lib/odoo-editor/test/spec/html_tables/libre_result.html 0 additions, 35 deletions...c/lib/odoo-editor/test/spec/html_tables/libre_result.html
- addons/web_editor/static/lib/odoo-editor/test/utils.js 17 additions, 6 deletionsaddons/web_editor/static/lib/odoo-editor/test/utils.js
Loading
Please register or sign in to comment