From 15ba1eb20cea831de9101cba80a0e74d67ef5585 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Fri, 27 Sep 2024 22:35:46 -0500 Subject: Start writing tests for the msi --- test | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test (limited to 'test') diff --git a/test b/test new file mode 100644 index 0000000..cd5e2ec --- /dev/null +++ b/test @@ -0,0 +1,21 @@ +#!/bin/sh + +Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & +DISPLAY=:99 + +msiexec /i lua4win.msi & + +xwd -root | magick xwd:- png:/root/1.png +xdotool mousemove --sync 573 618 +xwd -root | magick xwd:- png:/root/2.png +xdotool xdotool click 1 +xwd -root | magick xwd:- png:/root/3.png +xdotool mousemove --sync 725 666 +xwd -root | magick xwd:- png:/root/4.png +xdotool xdotool click 1 +xwd -root | magick xwd:- png:/root/5.png +xdotool mousemove --sync 743 666 +xwd -root | magick xwd:- png:/root/6.png +xdotool xdotool click 1 +xwd -root | magick xwd:- png:/root/7.png + -- cgit v1.2.3-55-g6feb