summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/wysiwyg/plugin/codeview.js
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2019-07-01 06:37:14 +0000
committerChristophe Monniez <moc@odoo.com>2019-07-19 12:14:36 +0000
commit0dc4a63e2dec57f3187501129f2670a3f4463e79 (patch)
tree14a0350eb32511da2d1b59899a253df9a10cb140 /addons/web_editor/static/src/js/wysiwyg/plugin/codeview.js
parent1a49db046fdc87c6fb2e1aff8b2c92bd8f99f099 (diff)
[IMP] tests: save screenshots and screencasts in temp
Actually, when a browser_js test is running, screencasts and screenshots are saved only if a "--logfile" parameter is specified. This is problematic with the runbot because '--logfile' arg is not provided when running tests. Also, in most situations, developpers prefer to have logs on stdout. With this commit, two CLI args are added to specify screencasts and screenshots directories. If no screenshots dir is provided, it defaults to "{tmp_dir}/odoo_tests/{db_name}/screenshots". It means that screenshots are always enabled during browser_js tests. If screencasts arg is given, it enables screencasts and save them in "DIR/{db_name}/screencasts". If the screencasts parameter is "1", DIR will be the same as for screenshots. The ffmpeg tools is used to encode frames into a video. If the ffmpeg tool is not found on the system, the frames are kept as pngs files instead. closes odoo/odoo#34640 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js/wysiwyg/plugin/codeview.js')
0 files changed, 0 insertions, 0 deletions