Work App — login trigger test
Each scenario toggles which triggers fire. Watch for the "Save this password?" dialog from Work.
Scenario controls
Simulate successful login
Remove form from DOM on success (Trigger A)
Change URL via pushState on success (Trigger B)
Login via XHR (no submit event) — tests Triggers A & B
Login via form submit — tests Trigger C
✓ Logged in — form removed from DOM.
Reload to reset