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

Petr Vobornik pvoborni at redhat.com
Mon May 12 16:54:14 UTC 2014


On 12.5.2014 18:13, Misnyovszki Adam wrote:
> 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
>

pushed to master:
* 6a61378586eb51eaa271ce492566309b0f68de59 webui-ci: save screenshot on 
test failure
* 6d618853a4d519c8671e2e38f1aaa290a6d62b83 webui-ci: decorate all webui 
tests with screenshot decorator
-- 
Petr Vobornik




More information about the Freeipa-devel mailing list