{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/2086","labels_url":"https://api.github.com/repos/angular/protractor/issues/2086/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/2086/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/2086/events","html_url":"https://github.com/angular/protractor/issues/2086","id":70768555,"number":2086,"title":"browser.wait for non-angular apps in v2.0.0","user":{"login":"djindjic","id":1564068,"avatar_url":"https://avatars.githubusercontent.com/u/1564068?v=3","gravatar_id":"","url":"https://api.github.com/users/djindjic","html_url":"https://github.com/djindjic","followers_url":"https://api.github.com/users/djindjic/followers","following_url":"https://api.github.com/users/djindjic/following{/other_user}","gists_url":"https://api.github.com/users/djindjic/gists{/gist_id}","starred_url":"https://api.github.com/users/djindjic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djindjic/subscriptions","organizations_url":"https://api.github.com/users/djindjic/orgs","repos_url":"https://api.github.com/users/djindjic/repos","events_url":"https://api.github.com/users/djindjic/events{/privacy}","received_events_url":"https://api.github.com/users/djindjic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-24T18:58:30Z","updated_at":"2015-04-24T18:58:30Z","closed_at":null,"body":"I have used browser.wait in my non-angular applications tests before and everything was fine, but today after upgrading my protractor to version 2.0.0 it seem like there is some braking change, but I cant find it (here)[https://github.com/angular/protractor/releases/tag/2.0.0].\r\n\r\nThis code:\r\n```js\r\nbrowser.get('/index.html');\r\nbrowser.wait(function() {\r\n    return browser.isElementPresent(by.css('someCssClass'));\r\n});\r\n\r\nexpect(1).toEqual(1);\r\n```\r\nmakes this error:\r\n```bash\r\n Message:\r\n     Error: Wait timed out after 39ms\r\n   Stacktrace:\r\n     Error: Wait timed out after 39ms\r\n```\r\n\r\nso 39ms? isn't it to short? :)"}}