{"action":"opened","issue":{"url":"https://api.github.com/repos/tyronewilson/protractor-rails/issues/37","labels_url":"https://api.github.com/repos/tyronewilson/protractor-rails/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/tyronewilson/protractor-rails/issues/37/comments","events_url":"https://api.github.com/repos/tyronewilson/protractor-rails/issues/37/events","html_url":"https://github.com/tyronewilson/protractor-rails/issues/37","id":75772710,"number":37,"title":"Any idea how I'd get login working on a non-Angular page with Devise login?","user":{"login":"itsryandrake","id":3394807,"avatar_url":"https://avatars.githubusercontent.com/u/3394807?v=3","gravatar_id":"","url":"https://api.github.com/users/itsryandrake","html_url":"https://github.com/itsryandrake","followers_url":"https://api.github.com/users/itsryandrake/followers","following_url":"https://api.github.com/users/itsryandrake/following{/other_user}","gists_url":"https://api.github.com/users/itsryandrake/gists{/gist_id}","starred_url":"https://api.github.com/users/itsryandrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsryandrake/subscriptions","organizations_url":"https://api.github.com/users/itsryandrake/orgs","repos_url":"https://api.github.com/users/itsryandrake/repos","events_url":"https://api.github.com/users/itsryandrake/events{/privacy}","received_events_url":"https://api.github.com/users/itsryandrake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-12T23:09:12Z","updated_at":"2015-05-12T23:09:12Z","closed_at":null,"body":"My login_spec.rb:\r\n\r\n```\r\nvar LoginPage = require('./login.po.js');\r\ndescribe('login page', function() {\r\n var loginPage = new LoginPage();\r\n\r\n  var params = browser.params;\r\n\r\n  beforeEach(function() {\r\n     isAngularPage(false);\r\n  });\r\n\r\n  it('should login successfully', function() {\r\n    browser.get('/accounts/login');\r\n    dvr.findElement(by.css('#user_email')).sendKeys( params.login.user );\r\n    dvr.findElement(by.css('#user_password')).sendKeys( params.login.password );\r\n    dvr.findElement(by.css('.btn-account-primary') ).click();\r\n    expect(browser.driver.findElement(by.css('#user_email')).getText()).toEqual( params.login.user );\r\n  });\r\n});\r\n```\r\n\r\nNot sure what to put into my login.po.js:\r\n"}}