summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/runtest.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-27 17:13:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-27 21:38:53 +0300
commit3217105fd8f32b20f226701339cbfb2fa950518c (patch)
treef22f120cf76ae7d16fd9d301ebdfd22146da0b89 /tools/ci/scripts/runtest.sh
parent66b0d056ce523bcd8e172f1132be1a591d88885a (diff)
downloadmanaplus-3217105fd8f32b20f226701339cbfb2fa950518c.tar.gz
manaplus-3217105fd8f32b20f226701339cbfb2fa950518c.tar.bz2
manaplus-3217105fd8f32b20f226701339cbfb2fa950518c.tar.xz
manaplus-3217105fd8f32b20f226701339cbfb2fa950518c.zip
Add into run tests clicking help links.
Diffstat (limited to 'tools/ci/scripts/runtest.sh')
-rwxr-xr-xtools/ci/scripts/runtest.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh
index d8149bd8f..840f3cf16 100755
--- a/tools/ci/scripts/runtest.sh
+++ b/tools/ci/scripts/runtest.sh
@@ -222,6 +222,25 @@ send_command "/guikey 13 keyGUISelect2"
send_command "/screenshot new_server.png"
imagesdiff add_server_url2.png new_server.png
+# press about button
+send_command "/sendmousekey 500 20 1"
+send_command "/screenshot about.png"
+imagesdiff new_server.png about.png
+
+# open about page
+send_command "/sendmousekey 500 20 1"
+send_command "/screenshot about.png"
+
+# open about manaplus page
+send_command "/sendmousekey 300 395 1"
+send_command "/screenshot about2.png"
+imagesdiff about.png about2.png
+
+# open help window again
+send_command "/sendmousekey 220 200 1"
+send_command "/screenshot help2.png"
+imagesdiff about2.png help2.png
+
# other comparisions
imagesdiff downkey.png help.png
imagesdiff help.png setup.png
@@ -235,6 +254,9 @@ imagesdiff run5.png add_server_description2.png
imagesdiff run5.png add_server_url1.png
imagesdiff run5.png add_server_url2.png
imagesdiff run5.png new_server.png
+imagesdiff run5.png about.png
+imagesdiff run5.png about2.png
+imagesdiff run5.png help2.png
imagesdiff run4.png add_server_name.png
imagesdiff run4.png add_server_adress1.png
@@ -246,6 +268,12 @@ imagesdiff run4.png add_server_description2.png
imagesdiff run4.png add_server_url1.png
imagesdiff run4.png add_server_url2.png
imagesdiff run4.png new_server.png
+imagesdiff run4.png about.png
+imagesdiff run4.png about2.png
+imagesdiff run4.png help2.png
+
+imagesdiff help.png about.png
+imagesdiff help.png help2.png
# final delay
sleep 5s