From c5127edf4987d9cb1868602f1bd2f5f0083c85b4 Mon Sep 17 00:00:00 2001 From: Pierre Grandin Date: Mon, 2 Jan 2017 15:22:19 -0800 Subject: Append 5 frames of usage to the UI tests --- ci/xdotools.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/xdotools.sh b/ci/xdotools.sh index c10c18b3e..5886ad919 100644 --- a/ci/xdotools.sh +++ b/ci/xdotools.sh @@ -56,8 +56,11 @@ send_event mousemove 640 450 click 1 # Click 'Settings' send_event mousemove 475 450 click 1 # Click 'Display' send_event mousemove 870 450 click 1 # Click '3D' -# capture the last image -import -window root $CIRCLE_ARTIFACTS/frames/99999.png +# capture 5 seconds of usage +for i in `seq 99994 99999`; do + import -window root $CIRCLE_ARTIFACTS/frames/${i}.png + sleep 1 +done # Assemble the gif convert -delay 100 -loop 0 $CIRCLE_ARTIFACTS/frames/*.png $CIRCLE_ARTIFACTS/town_search.gif -- cgit v1.2.1