# Cookies encrypted at rest (S025), part 2 (see cookies.txt): still signed in after the restart, then "delete cookies
# when Nacre closes" is turned on; part 3 (cookies-cleared.txt, same home) finds no cookie.
wait 3
open http://127.0.0.1:8767/whoami
waitfor 20 document.title === "Signed in as smoke"
expect /cookies "Encrypted"
page nacre://settings/privacy
wait 2
shot settings-privacy
set /privacy/clear_on_exit ["cookies"]
wait 1
status done
quit
