{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/amberframework/amber-spec/pulls/6","id":149388825,"html_url":"https://github.com/amberframework/amber-spec/pull/6","diff_url":"https://github.com/amberframework/amber-spec/pull/6.diff","patch_url":"https://github.com/amberframework/amber-spec/pull/6.patch","issue_url":"https://api.github.com/repos/amberframework/amber-spec/issues/6","number":6,"state":"open","locked":false,"title":"[WIP] - Add System Test","user":{"login":"eliasjpr","id":1685772,"avatar_url":"https://avatars2.githubusercontent.com/u/1685772?v=4","gravatar_id":"","url":"https://api.github.com/users/eliasjpr","html_url":"https://github.com/eliasjpr","followers_url":"https://api.github.com/users/eliasjpr/followers","following_url":"https://api.github.com/users/eliasjpr/following{/other_user}","gists_url":"https://api.github.com/users/eliasjpr/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasjpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasjpr/subscriptions","organizations_url":"https://api.github.com/users/eliasjpr/orgs","repos_url":"https://api.github.com/users/eliasjpr/repos","events_url":"https://api.github.com/users/eliasjpr/events{/privacy}","received_events_url":"https://api.github.com/users/eliasjpr/received_events","type":"User","site_admin":false},"body":"Modifies the library to add support for system testing using Selenium\r\nand Chrome driver.\r\n\r\nA Crystal library to perform system tests for web applications.\r\n\r\nWhy this is necessary\r\n\r\nSystem Testing is a level of the software testing where a complete and\r\nintegrated software is tested. The purpose of a system test is to evaluate\r\nthe system’s compliance with the specified requirements.\r\n\r\nBenefits\r\n\r\n- System tests let you test applications in the browser.\r\n- Because system tests use a real browser experience, you can test all of\r\nyour JavaScript easily from your test suite.\r\n\r\nUsage\r\n\r\nTo create a system test in your application, extend your test class from\r\nSpec::SystemTestCase.\r\n\r\nExample\r\n```crystal\r\nclass SomeFeatureTest < Spec::SystemTestCase\r\n  scenario \"User searched for Amber Framework at google.com\" do\r\n    visit \"http://www.google.com\"\r\n    fill :id, \"lst-ib\", \"Amber,Framework\"\r\n\r\n    click_on(:name, \"btnK\")\r\n\r\n    element(:id, \"rcnt\").text.should match(/Crystal/)\r\n  end\r\nend\r\n\r\nclass UsersControllerTest < ControllerTestCase\r\n  def before\r\n    Users.clear\r\n  end\r\n\r\n  it \"render all users\" do\r\n    subject = create_subject\r\n    get \"/userss\"\r\n    response.body.should contain \"test\"\r\n  end\r\nend","created_at":"2017-10-29T14:53:29Z","updated_at":"2017-10-29T14:53:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/amberframework/amber-spec/pulls/6/commits","review_comments_url":"https://api.github.com/repos/amberframework/amber-spec/pulls/6/comments","review_comment_url":"https://api.github.com/repos/amberframework/amber-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amberframework/amber-spec/issues/6/comments","statuses_url":"https://api.github.com/repos/amberframework/amber-spec/statuses/d4ef53bad0a5315f9a4d85a07a579d70ca8008ce","head":{"label":"amberframework:ep/add-system-tests","ref":"ep/add-system-tests","sha":"d4ef53bad0a5315f9a4d85a07a579d70ca8008ce","user":{"login":"amberframework","id":27691024,"avatar_url":"https://avatars1.githubusercontent.com/u/27691024?v=4","gravatar_id":"","url":"https://api.github.com/users/amberframework","html_url":"https://github.com/amberframework","followers_url":"https://api.github.com/users/amberframework/followers","following_url":"https://api.github.com/users/amberframework/following{/other_user}","gists_url":"https://api.github.com/users/amberframework/gists{/gist_id}","starred_url":"https://api.github.com/users/amberframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amberframework/subscriptions","organizations_url":"https://api.github.com/users/amberframework/orgs","repos_url":"https://api.github.com/users/amberframework/repos","events_url":"https://api.github.com/users/amberframework/events{/privacy}","received_events_url":"https://api.github.com/users/amberframework/received_events","type":"Organization","site_admin":false},"repo":{"id":93706109,"name":"amber-spec","full_name":"amberframework/amber-spec","owner":{"login":"amberframework","id":27691024,"avatar_url":"https://avatars1.githubusercontent.com/u/27691024?v=4","gravatar_id":"","url":"https://api.github.com/users/amberframework","html_url":"https://github.com/amberframework","followers_url":"https://api.github.com/users/amberframework/followers","following_url":"https://api.github.com/users/amberframework/following{/other_user}","gists_url":"https://api.github.com/users/amberframework/gists{/gist_id}","starred_url":"https://api.github.com/users/amberframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amberframework/subscriptions","organizations_url":"https://api.github.com/users/amberframework/orgs","repos_url":"https://api.github.com/users/amberframework/repos","events_url":"https://api.github.com/users/amberframework/events{/privacy}","received_events_url":"https://api.github.com/users/amberframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amberframework/amber-spec","description":"Spec Helpers for Amber","fork":false,"url":"https://api.github.com/repos/amberframework/amber-spec","forks_url":"https://api.github.com/repos/amberframework/amber-spec/forks","keys_url":"https://api.github.com/repos/amberframework/amber-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amberframework/amber-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amberframework/amber-spec/teams","hooks_url":"https://api.github.com/repos/amberframework/amber-spec/hooks","issue_events_url":"https://api.github.com/repos/amberframework/amber-spec/issues/events{/number}","events_url":"https://api.github.com/repos/amberframework/amber-spec/events","assignees_url":"https://api.github.com/repos/amberframework/amber-spec/assignees{/user}","branches_url":"https://api.github.com/repos/amberframework/amber-spec/branches{/branch}","tags_url":"https://api.github.com/repos/amberframework/amber-spec/tags","blobs_url":"https://api.github.com/repos/amberframework/amber-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amberframework/amber-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amberframework/amber-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/amberframework/amber-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amberframework/amber-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/amberframework/amber-spec/languages","stargazers_url":"https://api.github.com/repos/amberframework/amber-spec/stargazers","contributors_url":"https://api.github.com/repos/amberframework/amber-spec/contributors","subscribers_url":"https://api.github.com/repos/amberframework/amber-spec/subscribers","subscription_url":"https://api.github.com/repos/amberframework/amber-spec/subscription","commits_url":"https://api.github.com/repos/amberframework/amber-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/amberframework/amber-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/amberframework/amber-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/amberframework/amber-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/amberframework/amber-spec/contents/{+path}","compare_url":"https://api.github.com/repos/amberframework/amber-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amberframework/amber-spec/merges","archive_url":"https://api.github.com/repos/amberframework/amber-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amberframework/amber-spec/downloads","issues_url":"https://api.github.com/repos/amberframework/amber-spec/issues{/number}","pulls_url":"https://api.github.com/repos/amberframework/amber-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/amberframework/amber-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/amberframework/amber-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amberframework/amber-spec/labels{/name}","releases_url":"https://api.github.com/repos/amberframework/amber-spec/releases{/id}","deployments_url":"https://api.github.com/repos/amberframework/amber-spec/deployments","created_at":"2017-06-08T04:05:31Z","updated_at":"2017-10-19T22:50:46Z","pushed_at":"2017-10-29T14:52:08Z","git_url":"git://github.com/amberframework/amber-spec.git","ssh_url":"git@github.com:amberframework/amber-spec.git","clone_url":"https://github.com/amberframework/amber-spec.git","svn_url":"https://github.com/amberframework/amber-spec","homepage":"","size":26407,"stargazers_count":3,"watchers_count":3,"language":"Crystal","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"amberframework:master","ref":"master","sha":"0dc6ce3d8df763282362693b0c2ddfb682e44b9d","user":{"login":"amberframework","id":27691024,"avatar_url":"https://avatars1.githubusercontent.com/u/27691024?v=4","gravatar_id":"","url":"https://api.github.com/users/amberframework","html_url":"https://github.com/amberframework","followers_url":"https://api.github.com/users/amberframework/followers","following_url":"https://api.github.com/users/amberframework/following{/other_user}","gists_url":"https://api.github.com/users/amberframework/gists{/gist_id}","starred_url":"https://api.github.com/users/amberframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amberframework/subscriptions","organizations_url":"https://api.github.com/users/amberframework/orgs","repos_url":"https://api.github.com/users/amberframework/repos","events_url":"https://api.github.com/users/amberframework/events{/privacy}","received_events_url":"https://api.github.com/users/amberframework/received_events","type":"Organization","site_admin":false},"repo":{"id":93706109,"name":"amber-spec","full_name":"amberframework/amber-spec","owner":{"login":"amberframework","id":27691024,"avatar_url":"https://avatars1.githubusercontent.com/u/27691024?v=4","gravatar_id":"","url":"https://api.github.com/users/amberframework","html_url":"https://github.com/amberframework","followers_url":"https://api.github.com/users/amberframework/followers","following_url":"https://api.github.com/users/amberframework/following{/other_user}","gists_url":"https://api.github.com/users/amberframework/gists{/gist_id}","starred_url":"https://api.github.com/users/amberframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amberframework/subscriptions","organizations_url":"https://api.github.com/users/amberframework/orgs","repos_url":"https://api.github.com/users/amberframework/repos","events_url":"https://api.github.com/users/amberframework/events{/privacy}","received_events_url":"https://api.github.com/users/amberframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amberframework/amber-spec","description":"Spec Helpers for Amber","fork":false,"url":"https://api.github.com/repos/amberframework/amber-spec","forks_url":"https://api.github.com/repos/amberframework/amber-spec/forks","keys_url":"https://api.github.com/repos/amberframework/amber-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amberframework/amber-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amberframework/amber-spec/teams","hooks_url":"https://api.github.com/repos/amberframework/amber-spec/hooks","issue_events_url":"https://api.github.com/repos/amberframework/amber-spec/issues/events{/number}","events_url":"https://api.github.com/repos/amberframework/amber-spec/events","assignees_url":"https://api.github.com/repos/amberframework/amber-spec/assignees{/user}","branches_url":"https://api.github.com/repos/amberframework/amber-spec/branches{/branch}","tags_url":"https://api.github.com/repos/amberframework/amber-spec/tags","blobs_url":"https://api.github.com/repos/amberframework/amber-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amberframework/amber-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amberframework/amber-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/amberframework/amber-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amberframework/amber-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/amberframework/amber-spec/languages","stargazers_url":"https://api.github.com/repos/amberframework/amber-spec/stargazers","contributors_url":"https://api.github.com/repos/amberframework/amber-spec/contributors","subscribers_url":"https://api.github.com/repos/amberframework/amber-spec/subscribers","subscription_url":"https://api.github.com/repos/amberframework/amber-spec/subscription","commits_url":"https://api.github.com/repos/amberframework/amber-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/amberframework/amber-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/amberframework/amber-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/amberframework/amber-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/amberframework/amber-spec/contents/{+path}","compare_url":"https://api.github.com/repos/amberframework/amber-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amberframework/amber-spec/merges","archive_url":"https://api.github.com/repos/amberframework/amber-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amberframework/amber-spec/downloads","issues_url":"https://api.github.com/repos/amberframework/amber-spec/issues{/number}","pulls_url":"https://api.github.com/repos/amberframework/amber-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/amberframework/amber-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/amberframework/amber-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amberframework/amber-spec/labels{/name}","releases_url":"https://api.github.com/repos/amberframework/amber-spec/releases{/id}","deployments_url":"https://api.github.com/repos/amberframework/amber-spec/deployments","created_at":"2017-06-08T04:05:31Z","updated_at":"2017-10-19T22:50:46Z","pushed_at":"2017-10-29T14:52:08Z","git_url":"git://github.com/amberframework/amber-spec.git","ssh_url":"git@github.com:amberframework/amber-spec.git","clone_url":"https://github.com/amberframework/amber-spec.git","svn_url":"https://github.com/amberframework/amber-spec","homepage":"","size":26407,"stargazers_count":3,"watchers_count":3,"language":"Crystal","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amberframework/amber-spec/pulls/6"},"html":{"href":"https://github.com/amberframework/amber-spec/pull/6"},"issue":{"href":"https://api.github.com/repos/amberframework/amber-spec/issues/6"},"comments":{"href":"https://api.github.com/repos/amberframework/amber-spec/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/amberframework/amber-spec/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/amberframework/amber-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amberframework/amber-spec/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/amberframework/amber-spec/statuses/d4ef53bad0a5315f9a4d85a07a579d70ca8008ce"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":423,"deletions":61,"changed_files":18}}
{"actor":{"display_login":"eliasjpr"}}