summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Grandin <grandinp@altern.org>2017-01-02 15:22:19 -0800
committerPierre Grandin <grandinp@altern.org>2017-01-02 15:22:19 -0800
commitc5127edf4987d9cb1868602f1bd2f5f0083c85b4 (patch)
tree543c554c2d2b2985e87564c72c06dc37a66ef2c5
parent6cf443fe7fb7a2176e5b2ab13374e25e65bbc403 (diff)
downloadnavit-c5127edf4987d9cb1868602f1bd2f5f0083c85b4.tar.gz
Append 5 frames of usage to the UI tests
-rw-r--r--ci/xdotools.sh7
1 files 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