# Nacre's own pages (S020): history, bookmarks, downloads, passwords, apps, devtools, task manager, about, clear data,
# site settings, source, error, welcome. Empty first, then with a few visits and a bookmark; dark and light. Offline.
# Run with SMOKE_VISIBLE=1 SMOKE_SIZE=1280x900 tools/smoke.sh tests/smoke/pages-ui.txt; read the PNGs.
wait 3
resize 1280 900
set /theme/mode "dark"
page nacre://history
wait 0.6
shot history-empty-dark
page nacre://bookmarks
wait 0.6
shot bookmarks-empty-dark
page nacre://downloads
wait 0.6
shot downloads-empty-dark
page nacre://passwords
wait 0.6
shot passwords-empty-dark
page nacre://apps
wait 0.6
shot apps-empty-dark
page nacre://site-settings
wait 0.6
shot sites-empty-dark
page nacre://clear
wait 0.6
shot cleardata-dark
page nacre://about
wait 0.6
shot about-dark
open http://127.0.0.1:1/
waitload 5
wait 0.6
shot error-dark
open @PAGES@/hello.html
waitload
open @PAGES@/color.html
waitload
cmd bookmark
wait 0.5
page nacre://history
wait 0.6
shot history-dark
page nacre://bookmarks
wait 0.6
shot bookmarks-dark
page nacre://tasks
wait 0.6
shot tasks-dark
page nacre://devtools
wait 0.6
shot devtools-dark
page nacre://source/@PAGES@/hello.html
wait 1.5
shot source-dark
page nacre://welcome
welcome 0
wait 1
shot welcome-1-dark
welcome 1
wait 1
shot welcome-2-dark
welcome 2
wait 1
shot welcome-3-dark
welcome 3
wait 1
shot welcome-4-dark
welcome 4
wait 1
shot welcome-5-dark
welcome 5
wait 1
shot welcome-6-dark
set /theme/mode "light"
welcome 0
wait 1
shot welcome-1-light
welcome 2
wait 1
shot welcome-3-light
page nacre://history
wait 0.6
shot history-light
page nacre://bookmarks
wait 0.6
shot bookmarks-light
page nacre://passwords
wait 0.6
shot passwords-light
page nacre://apps
wait 0.6
shot apps-light
page nacre://tasks
wait 0.6
shot tasks-light
page nacre://about
wait 0.6
shot about-light
status done
quit
