51 lines
1.1 KiB
Text
51 lines
1.1 KiB
Text
# New tab page elements (S017) in dark and light, with nothing playing and with a video playing in another tab,
|
|
# plus a narrow window. Offline: the weather card shows its no-place and failed states (newtab-weather.txt has the
|
|
# real one). Run with SMOKE_SIZE=1400x1200 tools/smoke.sh (for the tall shots); read the PNGs.
|
|
wait 3
|
|
set /theme/mode "dark"
|
|
set /ntp/name "Sam"
|
|
set /ntp/bg "off"
|
|
newtab @PAGES@/hello.html
|
|
waitload 30
|
|
newtab @PAGES@/color.html
|
|
waitload 30
|
|
page nacre://newtab
|
|
set /ntp/notes "Call the bank\nBuy oat milk"
|
|
wait 1
|
|
shot ntp-dark
|
|
set /theme/mode "light"
|
|
wait 1
|
|
shot ntp-light
|
|
newtab @PAGES@/video.html
|
|
waitload 30
|
|
wait 2
|
|
cmd mute
|
|
page nacre://newtab
|
|
wait 2
|
|
shot ntp-playing-light
|
|
set /theme/mode "dark"
|
|
wait 1
|
|
shot ntp-playing-dark
|
|
wait 3
|
|
shot ntp-playing-dark-3s
|
|
set /ntp/city "Qqqzzx"
|
|
wait 4
|
|
shot ntp-weather-error-dark
|
|
set /ntp/bg "shapes"
|
|
wait 1
|
|
shot ntp-shapes-dark
|
|
resize 1360 1140
|
|
wait 1
|
|
shot ntp-tall-dark
|
|
set /theme/mode "light"
|
|
wait 1
|
|
shot ntp-tall-light
|
|
set /theme/mode "dark"
|
|
resize 700 760
|
|
wait 1
|
|
shot ntp-narrow-dark
|
|
resize 420 760
|
|
wait 1
|
|
shot ntp-phone-dark
|
|
status done
|
|
quit
|