[IMP] tests: add an option to watch chrome
closes odoo/documentation#2305 Related: odoo/odoo#66769 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
e32f9d8eab
commit
e9a724958c
@ -717,6 +717,17 @@ Two new command line arguments were added since Odoo 13.0 to control this behavi
|
|||||||
:option:`--screenshots <odoo-bin --screenshots>` and :option:`--screencasts <odoo-bin --screencasts>`
|
:option:`--screenshots <odoo-bin --screenshots>` and :option:`--screencasts <odoo-bin --screencasts>`
|
||||||
|
|
||||||
|
|
||||||
|
Watch `browser_js` tests in Chrome DevTools
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Set `watch` to `True` when starting a tour to automatically open a new Chrome tab and watch the execution of the tour in Chrome DevTools.
|
||||||
|
|
||||||
|
.. example::
|
||||||
|
.. code-block:: python
|
||||||
|
|
||||||
|
self.browser_js("/web", code, watch=True)
|
||||||
|
|
||||||
|
|
||||||
Performance Testing
|
Performance Testing
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user