From 9d69038cac66c9ff933f3548379c53a8731a6ccb Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 3 Sep 2026 20:31:06 +0200 Subject: [PATCH] Let the login test page drive itself Verifying the password flow needs a login to actually happen, and driving one by hand means a human at the keyboard. ?auto=1 fills the fields and logs in on load, with user, pass, succeed, rmdom and push as query parameters so each trigger and the failure case can be exercised without touching a real account. Values are written with the native setter followed by a real 'input' event, which is what a keystroke produces and what inject.js listens for. Worth being clear about the limit: this proves the trigger fires for a field that reached its value the way a browser reports it, not that physical typing works. --- test-login/index.html | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/test-login/index.html b/test-login/index.html index ae81170..fa3bd2b 100644 --- a/test-login/index.html +++ b/test-login/index.html @@ -93,5 +93,46 @@ // Default is already prevented by onsubmit="return false" on the form. } + +