Nacre/tests/smoke/auth.txt
astar76 72709e07b9 S048: WebKit UI callbacks: pop-ups, dialogs, context menu, permissions, full screen, Web Inspector, PiP
- Pop-ups as related-view tabs; a blocked one's URL opens on "Allow"
- Closing a tab runs beforeunload (try_close, 3 s fallback); HTTP sign-in checked
- egui takes the pointer over the page while a dialog or menu is open; colour picker closes on Escape/outside
- Permission reasons recomputed for WebKit; media stream/WebRTC on; saved notification answers given to WebKit
- Notifications no longer dropped after a non-remembered allow
- F12 opens Web Inspector; nacre://devtools lists tabs and remote inspection (D-046); console/network page removed
- PiP moves the tab's own view into the PiP window and back (no reload)
- Smokes: dialogs, basics extended; pip.txt, auth.txt (server /auth), visible-ui.txt

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 08:03:51 -06:00

23 lines
677 B
Text

# HTTP sign-in (S048): WebKit's authenticate request as Nacre's sign-in dialog: cancel, then a saved login filled in
# and sent. Offline: start `python3 tests/smoke/net/server.py &` first and run with NACRE_NO_BRIDGE=1 (loopback
# through the bridge fails until S050). Read the PNGs.
wait 3
open http://127.0.0.1:8767/auth
wait 2
expect /active/dialog true
shot auth-dark
key Escape
wait 1
expect /active/dialog false
vault import @PAGESDIR@/auth-login.csv
open http://127.0.0.1:8767/auth?saved
wait 2
expect /active/dialog true
shot auth-filled
# Sign in (the button at 1280x900).
tap 771 594
wait 2
expect /active/dialog false
expect /active/title "Auth ok"
status done
quit