{"action":"reopened","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/2188","labels_url":"https://api.github.com/repos/angular/protractor/issues/2188/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/2188/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/2188/events","html_url":"https://github.com/angular/protractor/issues/2188","id":82317449,"number":2188,"title":"Problem with getText empty - not element found possible","user":{"login":"wazodevs","id":12656140,"avatar_url":"https://avatars.githubusercontent.com/u/12656140?v=3","gravatar_id":"","url":"https://api.github.com/users/wazodevs","html_url":"https://github.com/wazodevs","followers_url":"https://api.github.com/users/wazodevs/followers","following_url":"https://api.github.com/users/wazodevs/following{/other_user}","gists_url":"https://api.github.com/users/wazodevs/gists{/gist_id}","starred_url":"https://api.github.com/users/wazodevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wazodevs/subscriptions","organizations_url":"https://api.github.com/users/wazodevs/orgs","repos_url":"https://api.github.com/users/wazodevs/repos","events_url":"https://api.github.com/users/wazodevs/events{/privacy}","received_events_url":"https://api.github.com/users/wazodevs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T07:50:57Z","updated_at":"2015-05-29T12:36:53Z","closed_at":null,"body":"Hi guys! I am having trouble developing one test. This is the code:\r\n\r\n`var mensajes= element.all(by.css('.error fill_msg')).all(by.tagName('span'))\t\t\t\r\nexpect(mensajes.getAttribute(\"value\")).toEqual(['Rellene este campo', 'Acepte las condiciones legales.']);`\t\t\r\n\r\nIt's too easy, expect if one  element is throught the css selector. This should give to elements\r\n\r\n<`div`class=\"for_error\" data-ng-message=\"required\">\r\n    <`p` class=\"error fill_msg\" data-translate=\"\">\r\n        <`span` class=\"ng-scope\">Rellene este campo</`span`>\r\n    </`p`>\r\n<`/div`>\r\n\r\n<`div` class=\"for_error\" data-ng-message=\"required\">\r\n    <`p` class=\"error fill_msg\" data-translate=\"\">\r\n        <`span` class=\"ng-scope\">Acepte las condiciones legales.</`span`>\r\n    </`p`>\r\n<`/div`>\r\n\r\nBut this is returning at the code, \r\n    `Expected [] to equal  [ 'Rellene este campo', 'Acepte las condiciones legales.' ].`\r\n\r\nThe reason of these is that is not founding the elements, but I pause the browser when that expect is going to be called and it's visible and using the chrome console I get the two elements.\r\n\r\n¿Any idea?\r\n\r\nThx guys!"}}