diff options
| author | Christophe Monniez <moc@odoo.com> | 2019-02-27 13:56:30 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2019-03-14 10:59:49 +0000 |
| commit | 7282a354c23d0e4794c78aca459f4abddc4b0ccb (patch) | |
| tree | 606e0300227eb0946272b6a3b2819631aa1fb98a /doc/reference/javascript_reference.rst | |
| parent | 9450469a1cab1a111ff310fd69f854e000133d90 (diff) | |
[FIX] tests: catch runtime exceptions during browser_js tests
Actually, when running browser_js tests, the test automatically fails
when a console error is seen.
In some cases, an exception can be thrown during a tour but without
console error. In that case, another type of devtools protocol event is
fired: Runtime.exceptionThorwn. This event is not catched by the
browser_js test.
With this commit the above mentioned event is catched and the test is
directly considered as failed.
closes odoo/odoo#31555
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
