Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 #31555 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
- Loading branch information