{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/2026","labels_url":"https://api.github.com/repos/angular/protractor/issues/2026/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/2026/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/2026/events","html_url":"https://github.com/angular/protractor/issues/2026","id":67438689,"number":2026,"title":"Commands executed out of order  in `each` sometimes","user":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/protractor/labels/needs:%20investigation","name":"needs: investigation","color":"207de5"},{"url":"https://api.github.com/repos/angular/protractor/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"hankduan","id":1059345,"avatar_url":"https://avatars.githubusercontent.com/u/1059345?v=3","gravatar_id":"","url":"https://api.github.com/users/hankduan","html_url":"https://github.com/hankduan","followers_url":"https://api.github.com/users/hankduan/followers","following_url":"https://api.github.com/users/hankduan/following{/other_user}","gists_url":"https://api.github.com/users/hankduan/gists{/gist_id}","starred_url":"https://api.github.com/users/hankduan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankduan/subscriptions","organizations_url":"https://api.github.com/users/hankduan/orgs","repos_url":"https://api.github.com/users/hankduan/repos","events_url":"https://api.github.com/users/hankduan/events{/privacy}","received_events_url":"https://api.github.com/users/hankduan/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-04-09T19:55:34Z","updated_at":"2015-04-11T20:50:20Z","closed_at":null,"body":"So far, this is the minimal case we've been able to reproduce on: #2025\r\n\r\n```js\r\ndescribe('failing each order', function() {\r\n  it('should get each', function() {\r\n    console.log('');\r\n    // This fails.\r\n    browser.get('http://localhost:8081');\r\n\r\n    var stuffs = element.all(by.css('.rowlike'));\r\n    stuffs.each(function(stuff) {\r\n      var input = stuff.element(by.css('.teststuff'));\r\n      input.getAttribute('value').then(function(value) {\r\n        // This fails for the first value, with value='1030'\r\n        console.log('in expect, value = ' + value);\r\n      });\r\n      input.sendKeys('30').then(function() {\r\n          console.log('After sendKeys');\r\n        });\r\n    }).then(function() {\r\n      console.log('Done with each');\r\n    });\r\n  });\r\n});\r\n```\r\n\r\nThe first 'sendKeys' happens before the first 'getAttribute'. "},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/91923997","html_url":"https://github.com/angular/protractor/issues/2026#issuecomment-91923997","issue_url":"https://api.github.com/repos/angular/protractor/issues/2026","id":91923997,"user":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T20:50:20Z","updated_at":"2015-04-11T20:50:20Z","body":"Reported to SeleniumHQ/webdriver as https://github.com/SeleniumHQ/selenium/issues/444"}}