summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-08-17 14:49:53 +0200
committerChristophe Simonis <chs@odoo.com>2018-10-18 11:59:42 +0200
commit9973994660c73c830ccdeb7497335d60a13a3b3f (patch)
treeb117f3a876afec544264ad3fff0b614e7ebc5429 /addons/web/static/src/js/views/basic/basic_controller.js
parent9211121a57111253f8a426eb6fc87f091b9ac1e8 (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/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions