{"action":"created","issue":{"url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/141","repository_url":"https://api.github.com/repos/code-corps/code-corps-ember","labels_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/141/comments","events_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/141/events","html_url":"https://github.com/code-corps/code-corps-ember/issues/141","id":157712869,"number":141,"title":"Rewrite tests with page objects","user":{"login":"JoshSmith","id":321667,"avatar_url":"https://avatars.githubusercontent.com/u/321667?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshSmith","html_url":"https://github.com/JoshSmith","followers_url":"https://api.github.com/users/JoshSmith/followers","following_url":"https://api.github.com/users/JoshSmith/following{/other_user}","gists_url":"https://api.github.com/users/JoshSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshSmith/subscriptions","organizations_url":"https://api.github.com/users/JoshSmith/orgs","repos_url":"https://api.github.com/users/JoshSmith/repos","events_url":"https://api.github.com/users/JoshSmith/events{/privacy}","received_events_url":"https://api.github.com/users/JoshSmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/code-corps/code-corps-ember/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/code-corps/code-corps-ember/labels/high%20priority","name":"high priority","color":"b60205"}],"state":"open","locked":false,"assignee":{"login":"noslouch","id":2090382,"avatar_url":"https://avatars.githubusercontent.com/u/2090382?v=3","gravatar_id":"","url":"https://api.github.com/users/noslouch","html_url":"https://github.com/noslouch","followers_url":"https://api.github.com/users/noslouch/followers","following_url":"https://api.github.com/users/noslouch/following{/other_user}","gists_url":"https://api.github.com/users/noslouch/gists{/gist_id}","starred_url":"https://api.github.com/users/noslouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noslouch/subscriptions","organizations_url":"https://api.github.com/users/noslouch/orgs","repos_url":"https://api.github.com/users/noslouch/repos","events_url":"https://api.github.com/users/noslouch/events{/privacy}","received_events_url":"https://api.github.com/users/noslouch/received_events","type":"User","site_admin":false},"assignees":[{"login":"noslouch","id":2090382,"avatar_url":"https://avatars.githubusercontent.com/u/2090382?v=3","gravatar_id":"","url":"https://api.github.com/users/noslouch","html_url":"https://github.com/noslouch","followers_url":"https://api.github.com/users/noslouch/followers","following_url":"https://api.github.com/users/noslouch/following{/other_user}","gists_url":"https://api.github.com/users/noslouch/gists{/gist_id}","starred_url":"https://api.github.com/users/noslouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noslouch/subscriptions","organizations_url":"https://api.github.com/users/noslouch/orgs","repos_url":"https://api.github.com/users/noslouch/repos","events_url":"https://api.github.com/users/noslouch/events{/privacy}","received_events_url":"https://api.github.com/users/noslouch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-05-31T16:20:48Z","updated_at":"2016-08-27T17:38:55Z","closed_at":null,"body":"http://ember-cli-page-object.js.org/docs/v1.4.x/components\r\n\r\nLets us do:\r\n\r\n```\r\nconst page = PageObject.create({\r\n  visit: visitable('/'),\r\n\r\n  username: fillable('#username'),\r\n  password: fillable('#password'),\r\n  submit: clickable('button'),\r\n  error: text('.errors')\r\n});\r\n\r\ntest('my awesome test', function(assert) {\r\n  page\r\n    .visit()\r\n    .username('admin')\r\n    .password('invalid')\r\n    .submit();\r\n\r\n  andThen(() => {\r\n    assert.equal(page.error, 'Invalid credentials');\r\n  });\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/comments/242930437","html_url":"https://github.com/code-corps/code-corps-ember/issues/141#issuecomment-242930437","issue_url":"https://api.github.com/repos/code-corps/code-corps-ember/issues/141","id":242930437,"user":{"login":"eablack","id":879929,"avatar_url":"https://avatars.githubusercontent.com/u/879929?v=3","gravatar_id":"","url":"https://api.github.com/users/eablack","html_url":"https://github.com/eablack","followers_url":"https://api.github.com/users/eablack/followers","following_url":"https://api.github.com/users/eablack/following{/other_user}","gists_url":"https://api.github.com/users/eablack/gists{/gist_id}","starred_url":"https://api.github.com/users/eablack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eablack/subscriptions","organizations_url":"https://api.github.com/users/eablack/orgs","repos_url":"https://api.github.com/users/eablack/repos","events_url":"https://api.github.com/users/eablack/events{/privacy}","received_events_url":"https://api.github.com/users/eablack/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T17:38:55Z","updated_at":"2016-08-27T17:38:55Z","body":"A few of these done in https://github.com/code-corps/code-corps-ember/issues/381"}}
{"actor":{"display_login":"eablack"}}