summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/runtest.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh
index dc2aa108c..41fb1c7c4 100755
--- a/tools/ci/scripts/runtest.sh
+++ b/tools/ci/scripts/runtest.sh
@@ -131,6 +131,10 @@ function imagessame {
fi
}
+if [[ -z "${ABOUTYOFFSET}" ]]; then
+ export ABOUTYOFFSET="395"
+fi
+
run
check_is_run
@@ -232,7 +236,7 @@ send_command "/sendmousekey 500 20 1"
send_command "/screenshot about.png"
# open about manaplus page
-send_command "/sendmousekey 300 395 1"
+send_command "/sendmousekey 300 ${ABOUTYOFFSET} 1"
send_command "/screenshot about2.png"
imagesdiff about.png about2.png