From 3422789e012f07b2ae57b3ebac825adb678c6581 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 2 Oct 2024 12:42:00 -0500 Subject: re-add failure --- test | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test b/test index 76bf717..c8b4cfc 100755 --- a/test +++ b/test @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -ex Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & set DISPLAY=:99 @@ -7,18 +7,21 @@ DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i # For some reason we have to set this here, having set .. ^ is not enough DISPLAY=:99 msiexec /i lua4win.msi & sleep 5 +# Click agree to terms DISPLAY=:99 xwd -root | magick xwd:- png:/root/1.png DISPLAY=:99 xdotool mousemove --sync 573 618 sleep 1 DISPLAY=:99 xwd -root | magick xwd:- png:/root/2.png DISPLAY=:99 xdotool click 1 sleep 1 +# Click Install DISPLAY=:99 xwd -root | magick xwd:- png:/root/3.png DISPLAY=:99 xdotool mousemove --sync 725 666 sleep 1 DISPLAY=:99 xwd -root | magick xwd:- png:/root/4.png DISPLAY=:99 xdotool click 1 sleep 1 + DISPLAY=:99 xwd -root | magick xwd:- png:/root/5.png DISPLAY=:99 xdotool mousemove --sync 743 666 sleep 1 @@ -27,4 +30,4 @@ DISPLAY=:99 xdotool click 1 sleep 1 DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png tar -czf images.tar.gz *.png - +exit -1 -- cgit v1.2.3-55-g6feb