summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorfwi-odoo <fwi@odoo.com>2017-05-04 11:14:49 +0200
committerfwi-odoo <fwi@odoo.com>2017-05-04 15:33:04 +0200
commit794345bad1b5432ca1349fcc27119402e5395235 (patch)
tree6fa1d88cadf0a23b8f1b279ff1b6c040796b9b52 /addons/web/static/tests/fields/basic_fields_tests.js
parente52fc1f1c45cb20247dc48f2f1452af560670a1c (diff)
[FIX] web: fix toolbar test (should not depend on document)
Unit tests are executed after module installation, which is sometimes challenging when some part of the UI is modified by another module. In this case, a test in module web/ was implicitely relying on a behaviour introduced by the module document. So, the test failed when document was not installed. Since the installation of ´document´ module changes the toolbar display, we check in the test if the module is installed to do the correct assertion.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions