Files
odoo_source/addons/web_tour/static/tests
Aaron Bohy 7fd803da91 [FIX] web_tour: qunit: stop mutation observer after test
This commit fixes an issue with the tour service tests. Those
tests start the tour service, which in turn uses a MacroEngine.
The MacroEngine uses a MutationObserver. However, tours don't
have a cleanup function, because in the "real" world they are
started once and live forever. In the "test" world, services can
be started in each test, and thus we sometimes need to properly
clear they side-effect. In this particular case, we need to remove
the MutationObserver at the end of the tests.

 Please enter the commit message for your changes. Lines starting

closes odoo/odoo#115841

Signed-off-by: Géry Debongnie <ged@odoo.com>
2023-03-20 14:04:24 +01:00
..