summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-08-17 14:49:53 +0200
committerGitHub <noreply@github.com>2018-08-17 14:49:53 +0200
commitc6fa1796af22465024d56e289b54a42af84322ea (patch)
tree8f8f72b0d88b1c5719469e5432cbce9c16b8740c /addons/web/static/tests/fields/basic_fields_tests.js
parent0eab8f6e0b17a4ff6a859d14b14b643212cbadc1 (diff)
[FIX] tests: clean the browser even on failure
When a Chrome headless test fails the browser is not cleaned and could lead to a mix with other tests when the same method is called. Also, the multiline assertions gives an unreadable message when the assertion fails. Finally, it happens that a thread does not have an 'url' attribute and lead to a crash when the logger tries to show the thread url. With this commit, the browser is cleaned, even on failure and the assertions are now one line. Closes: #26432
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions