diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-08-17 14:49:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-17 14:49:53 +0200 |
| commit | c6fa1796af22465024d56e289b54a42af84322ea (patch) | |
| tree | 8f8f72b0d88b1c5719469e5432cbce9c16b8740c /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 0eab8f6e0b17a4ff6a859d14b14b643212cbadc1 (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
