{"action":"created","issue":{"url":"https://api.github.com/repos/xeqi/kerodon/issues/35","labels_url":"https://api.github.com/repos/xeqi/kerodon/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/xeqi/kerodon/issues/35/comments","events_url":"https://api.github.com/repos/xeqi/kerodon/issues/35/events","html_url":"https://github.com/xeqi/kerodon/issues/35","id":66525813,"number":35,"title":"Trouble with GET params and `follow-redirect`","user":{"login":"EuAndreh","id":2935736,"avatar_url":"https://avatars.githubusercontent.com/u/2935736?v=3","gravatar_id":"","url":"https://api.github.com/users/EuAndreh","html_url":"https://github.com/EuAndreh","followers_url":"https://api.github.com/users/EuAndreh/followers","following_url":"https://api.github.com/users/EuAndreh/following{/other_user}","gists_url":"https://api.github.com/users/EuAndreh/gists{/gist_id}","starred_url":"https://api.github.com/users/EuAndreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EuAndreh/subscriptions","organizations_url":"https://api.github.com/users/EuAndreh/orgs","repos_url":"https://api.github.com/users/EuAndreh/repos","events_url":"https://api.github.com/users/EuAndreh/events{/privacy}","received_events_url":"https://api.github.com/users/EuAndreh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-06T04:54:01Z","updated_at":"2015-04-07T13:59:14Z","closed_at":null,"body":"Hi there.\r\n\r\nI'm having problem with GET params in the URI. When testing the app with `visit`, the app doesn't receive the GET params:\r\n```Clojure\r\n(-> (session app)\r\n      (visit \"/guy\" :params {\"key\" \"guyskey\"}))\r\n;; or the equivalent\r\n(-> (session app)\r\n      (visit \"/guy?key=guyskey\"))\r\n```\r\nIn both cases the `:query-string` is `\"key=guyskey\"`, but the app doesn't receive those values.\r\n\r\nI also get this error when using follow redirect:\r\n```clojure\r\n(deftest site-navegation-test\r\n  (-> (session app)\r\n      (visit \"/\")\r\n      (fill-in :#key \"André\")\r\n      (press \"Buscar atleta\")\r\n      (follow-redirect)))\r\nUncaught exception, not in assertion.\r\nexpected: nil\r\n  actual: java.lang.IllegalArgumentException: Previous response was not a redirect\r\n at peridot.core$follow_redirect.invoke (core.clj:59)\r\n    kerodon.core$follow_redirect.invoke (core.clj:16)\r\n...\r\n```\r\n\r\nIs there anything I'm doing wrong?"},"comment":{"url":"https://api.github.com/repos/xeqi/kerodon/issues/comments/90565511","html_url":"https://github.com/xeqi/kerodon/issues/35#issuecomment-90565511","issue_url":"https://api.github.com/repos/xeqi/kerodon/issues/35","id":90565511,"user":{"login":"EuAndreh","id":2935736,"avatar_url":"https://avatars.githubusercontent.com/u/2935736?v=3","gravatar_id":"","url":"https://api.github.com/users/EuAndreh","html_url":"https://github.com/EuAndreh","followers_url":"https://api.github.com/users/EuAndreh/followers","following_url":"https://api.github.com/users/EuAndreh/following{/other_user}","gists_url":"https://api.github.com/users/EuAndreh/gists{/gist_id}","starred_url":"https://api.github.com/users/EuAndreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EuAndreh/subscriptions","organizations_url":"https://api.github.com/users/EuAndreh/orgs","repos_url":"https://api.github.com/users/EuAndreh/repos","events_url":"https://api.github.com/users/EuAndreh/events{/privacy}","received_events_url":"https://api.github.com/users/EuAndreh/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T13:59:14Z","updated_at":"2015-04-07T13:59:14Z","body":"The app is [EuAndreh/sem-nome-tro](http://github/EuAndreh/sem-nome-tro), and the test is `navegação-pelo-site`.\r\n\r\nThe error message is `Previous response was not a redirect` instead of `button could not be found with selector \"Buscar atleta\"`, which means that the `(press \"Buscar atleta\")` is actually doing its job.\r\n\r\nWhat am I missing?\r\n\r\nThank you very much for the help."}}