diff options
author | Pierre GRANDIN <grandinp@altern.org> | 2015-07-15 20:11:08 -0700 |
---|---|---|
committer | Pierre GRANDIN <grandinp@altern.org> | 2015-07-15 20:11:08 -0700 |
commit | 4256feee83c114fc80f816364399e7a9ae3488be (patch) | |
tree | b36a93a6c50eeb3753b3ae141106d24563d7ef86 | |
parent | 999132372f926cf8c0101df18642d0bc96cb79db (diff) | |
download | navit-4256feee83c114fc80f816364399e7a9ae3488be.tar.gz |
First attempt at automating internal gui tests
-rw-r--r-- | ci/internal_gui_tests.sh | 8 | ||||
-rw-r--r-- | circle.yml | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/internal_gui_tests.sh b/ci/internal_gui_tests.sh new file mode 100644 index 000000000..2b0676f48 --- /dev/null +++ b/ci/internal_gui_tests.sh @@ -0,0 +1,8 @@ +# try to get to the town search +sleep 1; xdotool key Return +sleep 1; xdotool key Down +sleep 1; xdotool key Return +sleep 1; xdotool key Down +sleep 1; xdotool key Down +sleep 1; xdotool key Return +import -window root $CIRCLE_ARTIFACTS/internal_gui_test.png diff --git a/circle.yml b/circle.yml index 628d130e1..b98cfcbc7 100644 --- a/circle.yml +++ b/circle.yml @@ -65,6 +65,7 @@ test: - sleep 5 - import -window root $CIRCLE_ARTIFACTS/default.png - python ci/dbus_tests.py $CIRCLE_TEST_REPORTS/ + - bash ci/internal_gui_tests.sh - dbus-send --print-reply --session --dest=org.navit_project.navit /org/navit_project/navit/default_navit org.navit_project.navit.navit.quit deployment: merge_into_master: |