[Freeipa-devel] [PATCH] 589-590 webui-ci: save screenshot on test failure

Misnyovszki Adam amisnyov at redhat.com
Mon May 12 16:13:42 UTC 2014


On Wed, 30 Apr 2014 10:40:43 +0200
Petr Vobornik <pvoborni at redhat.com> wrote:

> Very handy for debugging failures...
> 
> 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

Hi,
LGTM, it even saves screenshots when I use remote testing, so
ACK

Adam




More information about the Freeipa-devel mailing list