Closed jiriknesl closed 11 years ago
It looks like kerodon doesn't correctly handle an empty action - it only handles non-empty actions and when action is omitted entirely.
I'll try and put together a patch for this today.
Fixed in 56ce26559a3 - i'll leave the issue open until there's a new release from @xeqi
Apologies for messing with the history a bit there, I accidentally commited with my work email address =/
0.2.0 has been released with this fixed.
I have a test:
And Route:
When I run test, Kerodon runs the code, fill in form and click login, but it goes to URL /sign/ instead of /sign/in (after submitting form) so I get "Not found" page. When I (prn) page after (visit "/sign/in"), {:request {:uri}} is "sign/in", after (press "Prihlasit"), the {:request {:uri}} is "/sign/". Form action is empty string