diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-04-28 16:59:50 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-05-12 18:52:57 +0200 |
commit | 6a61378586eb51eaa271ce492566309b0f68de59 (patch) | |
tree | bbe0832cb37d3f1d2350bf11eec8c68ff7062a55 /ipatests/test_webui/test_range.py | |
parent | 37c238a6ef8f825f85351a5974b4270998bc0661 (diff) | |
download | freeipa-6a61378586eb51eaa271ce492566309b0f68de59.tar.gz freeipa-6a61378586eb51eaa271ce492566309b0f68de59.tar.xz freeipa-6a61378586eb51eaa271ce492566309b0f68de59.zip |
webui-ci: save screenshot on test failure
New decorator: ui_driver.screenshot created. It should be applied on test methods.
Screenshot is saved on each exception except SkipTest.
Configuration:
- add: `save_screenshots: True` to ~/.ipa/ui_test.conf to enable saving screenshots
- optionally add `screenshot_dir: /path/to/dir` to specify target directory
otherwise screenshots are saved to current directory
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'ipatests/test_webui/test_range.py')
0 files changed, 0 insertions, 0 deletions