{"action":"created","issue":{"url":"https://api.github.com/repos/cypress-io/cypress/issues/43","labels_url":"https://api.github.com/repos/cypress-io/cypress/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/cypress-io/cypress/issues/43/comments","events_url":"https://api.github.com/repos/cypress-io/cypress/issues/43/events","html_url":"https://github.com/cypress-io/cypress/issues/43","id":87743694,"number":43,"title":"Able to specify timeout limit on cy.wait( function )","user":{"login":"wwalmnes","id":1506750,"avatar_url":"https://avatars.githubusercontent.com/u/1506750?v=3","gravatar_id":"","url":"https://api.github.com/users/wwalmnes","html_url":"https://github.com/wwalmnes","followers_url":"https://api.github.com/users/wwalmnes/followers","following_url":"https://api.github.com/users/wwalmnes/following{/other_user}","gists_url":"https://api.github.com/users/wwalmnes/gists{/gist_id}","starred_url":"https://api.github.com/users/wwalmnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwalmnes/subscriptions","organizations_url":"https://api.github.com/users/wwalmnes/orgs","repos_url":"https://api.github.com/users/wwalmnes/repos","events_url":"https://api.github.com/users/wwalmnes/events{/privacy}","received_events_url":"https://api.github.com/users/wwalmnes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-12T14:18:46Z","updated_at":"2015-06-15T18:20:19Z","closed_at":null,"body":"In the documentation it says the function usage of cy.wait() runs the function until it does not throw. Obviously, there is a timer that makes sure the function doesn't wait forever, but is it possible to change this timer value? \r\n\r\nIs it also possible to limit the rate at which it polls the given function? \r\n\r\nMaybe this is an odd request, but in my case I know that I have to wait for at least 5 seconds for a roulette animation, but it may be as long as 10 seconds. I could have just done cy.wait(10000), but then in some cases I will have to wait at maximum 5 unnecessary seconds."},"comment":{"url":"https://api.github.com/repos/cypress-io/cypress/issues/comments/112160485","html_url":"https://github.com/cypress-io/cypress/issues/43#issuecomment-112160485","issue_url":"https://api.github.com/repos/cypress-io/cypress/issues/43","id":112160485,"user":{"login":"brian-mann","id":1268976,"avatar_url":"https://avatars.githubusercontent.com/u/1268976?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-mann","html_url":"https://github.com/brian-mann","followers_url":"https://api.github.com/users/brian-mann/followers","following_url":"https://api.github.com/users/brian-mann/following{/other_user}","gists_url":"https://api.github.com/users/brian-mann/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-mann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-mann/subscriptions","organizations_url":"https://api.github.com/users/brian-mann/orgs","repos_url":"https://api.github.com/users/brian-mann/repos","events_url":"https://api.github.com/users/brian-mann/events{/privacy}","received_events_url":"https://api.github.com/users/brian-mann/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T18:20:19Z","updated_at":"2015-06-15T18:20:19Z","body":"I released `0.7.0` today.  So tonight I'll start on these bug fixes."}}