[FIX] barcodes: remove remaining elements from tests
Since the QUnit config is more strict as to what is allowed to stay in the DOM after tests, a test has been updated to clean its elements before the test ends. closes odoo/odoo#53705 X-original-commit: 33b567a777a69a4da627ff1d62b46ad09127f86d Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
This commit is contained in:
@@ -69,6 +69,8 @@ odoo.define('barcodes.barcode_mobile_tests', function () {
|
||||
// Rebind keyboard events
|
||||
barcodeEvents.stop();
|
||||
barcodeEvents.start();
|
||||
|
||||
document.querySelector('input[name=barcode]').remove();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user