Wednesday, December 9, 2020
2 changes · master
Resolved issues and error corrections
This fixes an intermittent automated test issue where the website editor cleanup could finish after the test had already ended. The change helps keep development validation stable and reduces false failures in the build process.
Original PR description
Fix an error in the QUnit tests that would sometimes pop up when the `editor.stop()` is a bit slow and the QUnit test case is over before the editor html is properly cleaned.
**Bug report :**
[XDO] Undeterministic runbot error: https://runbot.odoo.com/runbot/build/5082722 Body still contains undesirable elements: jw-follow-range
╰─[DMO] This was already reported and already marked as fixed. However, it seems this bug still appears as this build is from master today (Nov 19). If I remember correctly, the fix was to add an await in the test for the closing of the editor. However, I was surprised that this await wasn't needed in the other editor tests. Maybe this is why the bug is till there ? That it is another test that exhibits the same shortcoming ?
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update fixes and stabilizes tests across several country-specific accounting and e-invoicing features. It helps ensure localization features work reliably regardless of demo data or currency settings, reducing risk in compliance-related workflows.