# Settings pages (S019): every section and sub-page dark and light, search results, a narrow window. Offline.
# Run with SMOKE_SIZE=1280x1100 tools/smoke.sh tests/smoke/settings.txt; read the PNGs (only the top of long pages shows).
wait 3
resize 1280 1060
set /theme/mode "dark"
page nacre://settings/general
wait 0.6
shot general-dark
page nacre://settings/appearance
wait 0.6
shot appearance-dark
page nacre://settings/toolbar
wait 0.6
shot toolbar-dark
page nacre://settings/performance
wait 0.6
shot performance-dark
page nacre://settings/privacy
wait 0.6
shot privacy-dark
page nacre://settings/adblock
wait 0.6
shot adblock-dark
page nacre://settings/passwords
wait 0.6
shot passwords-dark
page nacre://settings/downloads
wait 0.6
shot downloads-dark
page nacre://settings/media
wait 0.6
shot media-dark
page nacre://settings/about
wait 0.6
shot about-dark
page nacre://settings/profiles
wait 0.6
shot profiles-dark
page nacre://settings/search
wait 0.6
shot search-dark
page nacre://settings/spell
wait 0.6
shot spell-dark
page nacre://settings/keys
wait 0.6
shot keys-dark
page nacre://settings/import
wait 0.6
shot import-dark
page nacre://settings/newtab
wait 0.6
shot newtab-dark
page nacre://settings/permissions
wait 0.6
shot permissions-dark
page nacre://settings/lists
wait 0.6
shot lists-dark
page nacre://settings/managers
wait 0.6
shot managers-dark
page nacre://settings/discord
wait 0.6
shot discord-dark
page nacre://settings/?search=cookie
wait 0.8
shot search-dark
page nacre://settings/?search=zzzz
wait 0.6
shot search-empty-dark
page nacre://settings/?search=
wait 0.3
set /theme/mode "light"
page nacre://settings/general
wait 0.6
shot general-light
page nacre://settings/appearance
wait 0.6
shot appearance-light
page nacre://settings/toolbar
wait 0.6
shot toolbar-light
page nacre://settings/performance
wait 0.6
shot performance-light
page nacre://settings/privacy
wait 0.6
shot privacy-light
page nacre://settings/adblock
wait 0.6
shot adblock-light
page nacre://settings/passwords
wait 0.6
shot passwords-light
page nacre://settings/downloads
wait 0.6
shot downloads-light
page nacre://settings/media
wait 0.6
shot media-light
page nacre://settings/about
wait 0.6
shot about-light
page nacre://settings/profiles
wait 0.6
shot profiles-light
page nacre://settings/search
wait 0.6
shot search-light
page nacre://settings/spell
wait 0.6
shot spell-light
page nacre://settings/keys
wait 0.6
shot keys-light
page nacre://settings/import
wait 0.6
shot import-light
page nacre://settings/newtab
wait 0.6
shot newtab-light
page nacre://settings/permissions
wait 0.6
shot permissions-light
page nacre://settings/lists
wait 0.6
shot lists-light
page nacre://settings/managers
wait 0.6
shot managers-light
page nacre://settings/discord
wait 0.6
shot discord-light
page nacre://settings/?search=cookie
wait 0.8
shot search-light
page nacre://settings/?search=zzzz
wait 0.6
shot search-empty-light
page nacre://settings/?search=
wait 0.3
resize 700 900
page nacre://settings/appearance
wait 1
shot narrow-light
set /theme/mode "dark"
page nacre://settings/privacy
wait 1
shot narrow-dark
status done
quit
