fix(e2e): robustly fill the login form - it was posting empty credentials (BUNYIP-168) #190
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-168-login-fill-empty"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The wire diagnostic showed loginViaHub posting
email=len 0 password=len 0(empty), while the server-rendered hiddenredirectfield survived: bunyip-web re-renders the input nodes after load (htmx loaded globally), dropping Playwrights JS-set.valuebefore submit. bunyip then rejected the empty login as "incorrect" despite every resolved-input fingerprint matching.\n\nFix: scope toform[action="/login"], fill + verifyinputValue()stuck with a short retry loop (waits out the re-render), and re-fill right before submit.fillVerifiedthrows clearly if a value will not persist. Wire diagnostic kept so the next run confirms the POST now carries non-empty creds.\n\ntsc clean; 18 specs collect.\n\n#BUNYIP-168