Skip to content
Snippets Groups Projects
Unverified Commit 047bb0da authored by Clayton Craft's avatar Clayton Craft
Browse files

test/functional: take screenshots of mouse click tests (MR 159)

Really helpful for understanding why click tests might be failing
parent 319f1c60
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ build::amd64:
build-base
cryptsetup-dev
eudev-libs
imagemagick
libxi
linux-headers
mesa-dri-gallium
......
......@@ -27,6 +27,8 @@ mouse_click_qwerty() {
xdotool mousemove 225 575 click 1
# y
xdotool mousemove 270 575 click 1
# take screenshot before pressing enter
import -window root "test_mouse_click_qwerty_screenshot.png"
# enter
xdotool mousemove 430 775 click 1
}
......@@ -58,6 +60,8 @@ mouse_click_symbols() {
xdotool mousemove 69 745 click 1
# 8 key (abc layout, 5 row)
xdotool mousemove 369 557 click 1
# take screenshot before pressing enter
import -window root "test_mouse_click_symbols_screenshot.png"
# enter
xdotool mousemove 463 766 click 1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment