# AiReader end-to-end test 1 (client coords at 96 DPI, window 1400x900)
wait 1200
state test/out/t1_01_open.txt
shot test/out/t1_01_open.png
echo --- search via toolbar icon
click 1362 24
wait 200
type viscosity
wait 500
state test/out/t1_02_search.txt
shot test/out/t1_02_search.png
key enter
key enter
wait 200
state test/out/t1_03_enter2.txt
key shift+enter
wait 200
state test/out/t1_04_shiftenter.txt
echo --- select the current hit by dragging, copy
key esc
wait 200
state test/out/t1_05_esc.txt
hitdrag
wait 200
key ctrl+c
wait 200
clip test/out/t1_06_clip.txt
state test/out/t1_06_sel.txt
shot test/out/t1_06_sel.png
key esc
key n
wait 200
state test/out/t1_07_n.txt
key shift+n
wait 200
state test/out/t1_08_N.txt
hitdblclick
wait 300
state test/out/t1_09_dblword.txt
echo --- navigation
key ctrl+home
wait 150
state test/out/t1_10_home.txt
key pgdn
wait 150
state test/out/t1_11_pgdn.txt
key shift+g
wait 150
state test/out/t1_12_G.txt
key g
key g
wait 150
state test/out/t1_13_gg.txt
key 1
key 2
key shift+g
wait 150
state test/out/t1_14_12G.txt
key j
key j
key k
wait 150
state test/out/t1_15_jjk.txt
echo --- page box
click 1362 95
wait 150
type 5
key enter
wait 200
state test/out/t1_16_pagebox5.txt
echo --- zoom
click 1362 354
wait 200
state test/out/t1_17_zoomin.txt
click 1362 392
click 1362 392
wait 200
state test/out/t1_18_zoomout2.txt
click 1362 278
wait 300
state test/out/t1_19_actual.txt
shot test/out/t1_19_actual.png
click 1362 316
wait 300
state test/out/t1_20_fit.txt
wheel 2 ctrl
wait 300
state test/out/t1_21_ctrlwheel.txt
key ctrl+0
wait 200
echo --- rotate
click 1362 240
wait 400
state test/out/t1_22_rot.txt
shot test/out/t1_22_rot.png
key r
key r
key r
wait 300
state test/out/t1_23_rot360.txt
echo --- dark mode
click 1362 438
wait 500
state test/out/t1_24_dark.txt
shot test/out/t1_24_dark.png
key ctrl+shift+d
wait 400
state test/out/t1_25_light.txt
echo --- tabs
open test/small1.pdf
wait 800
state test/out/t1_26_tab2.txt
shot test/out/t1_26_tab2.png
key ctrl+tab
wait 300
state test/out/t1_27_ctrltab.txt
click 100 17
wait 300
state test/out/t1_28_clicktab.txt
key ctrl+w
wait 300
state test/out/t1_29_ctrlw.txt
key ctrl+b
wait 300
state test/out/t1_30_notabs.txt
shot test/out/t1_30_notabs.png
key ctrl+b
wait 200
key f11
wait 500
state test/out/t1_31_fullscreen.txt
shot test/out/t1_31_fullscreen.png
key esc
wait 400
state test/out/t1_32_endfs.txt
quit
