{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/1229","labels_url":"https://api.github.com/repos/angular/protractor/issues/1229/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/1229/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/1229/events","html_url":"https://github.com/angular/protractor/issues/1229","id":40960848,"number":1229,"title":"problems running angularjs e2e testing with protractor in phantomjs","user":{"login":"svuppala","id":5761098,"avatar_url":"https://avatars.githubusercontent.com/u/5761098?v=3","gravatar_id":"","url":"https://api.github.com/users/svuppala","html_url":"https://github.com/svuppala","followers_url":"https://api.github.com/users/svuppala/followers","following_url":"https://api.github.com/users/svuppala/following{/other_user}","gists_url":"https://api.github.com/users/svuppala/gists{/gist_id}","starred_url":"https://api.github.com/users/svuppala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svuppala/subscriptions","organizations_url":"https://api.github.com/users/svuppala/orgs","repos_url":"https://api.github.com/users/svuppala/repos","events_url":"https://api.github.com/users/svuppala/events{/privacy}","received_events_url":"https://api.github.com/users/svuppala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/protractor/labels/browser:%20phantomjs","name":"browser: phantomjs","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-22T23:48:35Z","updated_at":"2015-02-12T11:18:02Z","closed_at":null,"body":"When doing E2E tests with Protractor and PhantomJS and doing things like\r\n\r\nexpect(element(by.repeater('book in library') row(0).column('{{book.name}}')).getText()).toBe('Some Text');\r\nfails only in PhantomJS, but not in Firefox or Chrome.\r\n\r\nHtml\r\n\r\n<div>\r\n  <ui tabset> \r\n    <li tab ng-repeat=\"book in library track by id\"> \r\n      <span tab-heading>{{book.name}}</span>      \r\n      <div ui-view=\"test\"></div>\r\n    </li>\r\n  </ui>\r\n</div>\r\nProtractor E2E test case:\r\n\r\n it('test', function () {\r\n  var bookName = element(by.repeater('book in library track by id').row(0).column('{{book.name}}'));\r\n  expect(bookName.getText()).toEqual('test');\r\n });\r\nI am using angularjs 1.2.14, protractor:1.0.0-rc4, phantomjs:1.9.7-14 on linux This test case runs well in Chrome and Firefox but fails in PhantomJS and the error I get is\r\n\r\n Error:Expected '' to equal 'test'\r\nWhen I do count on rows works fine but trying to fetch column value, I am getting the empty string.\r\n\r\n// works fine:\r\nexpect(element.all(by.repeater('book in library track by id')).count()).toEqual(9); \r\n// test fails:\r\nexpect(bookName.getText()).toEqual('test');\r\nIs there way to fix this?"},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/74055187","html_url":"https://github.com/angular/protractor/issues/1229#issuecomment-74055187","issue_url":"https://api.github.com/repos/angular/protractor/issues/1229","id":74055187,"user":{"login":"gesellix","id":432791,"avatar_url":"https://avatars.githubusercontent.com/u/432791?v=3","gravatar_id":"","url":"https://api.github.com/users/gesellix","html_url":"https://github.com/gesellix","followers_url":"https://api.github.com/users/gesellix/followers","following_url":"https://api.github.com/users/gesellix/following{/other_user}","gists_url":"https://api.github.com/users/gesellix/gists{/gist_id}","starred_url":"https://api.github.com/users/gesellix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesellix/subscriptions","organizations_url":"https://api.github.com/users/gesellix/orgs","repos_url":"https://api.github.com/users/gesellix/repos","events_url":"https://api.github.com/users/gesellix/events{/privacy}","received_events_url":"https://api.github.com/users/gesellix/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T11:18:02Z","updated_at":"2015-02-12T11:18:02Z","body":"We have the same problem and also made it work by changing `getText()` to `getInnerHtml()` (without `getWebElement()`). Would this issue be Protractor specific or should we file an issue at the PhantomJS project?\r\n"}}