{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/nikolaknot/site-project/pulls/12","id":86625864,"html_url":"https://github.com/nikolaknot/site-project/pull/12","diff_url":"https://github.com/nikolaknot/site-project/pull/12.diff","patch_url":"https://github.com/nikolaknot/site-project/pull/12.patch","issue_url":"https://api.github.com/repos/nikolaknot/site-project/issues/12","number":12,"state":"closed","locked":false,"title":"Add: BackstopJS configuration","user":{"login":"borisknot","id":6977824,"avatar_url":"https://avatars.githubusercontent.com/u/6977824?v=3","gravatar_id":"","url":"https://api.github.com/users/borisknot","html_url":"https://github.com/borisknot","followers_url":"https://api.github.com/users/borisknot/followers","following_url":"https://api.github.com/users/borisknot/following{/other_user}","gists_url":"https://api.github.com/users/borisknot/gists{/gist_id}","starred_url":"https://api.github.com/users/borisknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisknot/subscriptions","organizations_url":"https://api.github.com/users/borisknot/orgs","repos_url":"https://api.github.com/users/borisknot/repos","events_url":"https://api.github.com/users/borisknot/events{/privacy}","received_events_url":"https://api.github.com/users/borisknot/received_events","type":"User","site_admin":false},"body":"Add backstopjs for testing perceptual difference.\n### Install instructions\n\nYou need `nodejs 4.5.0`, `npm 2.15.9` and `phantomjs 1.9+`\n\n``` shell\n$ sudo apt-get update\n```\n\n``` shell\n$ sudo apt-get install nodejs\n```\n\n``` shell\n$ sudo apt-get install npm\n```\n\n``` shell\n$ sudo apt-get install phantomjs\n```\n\nInstall BackstopJS inside project folder.\n\n``` shell\n$ npm install backstopjs\n```\n\nIn order to run the tests or generate reference you need a working server running on the port specified in backstop config. PHP server will work just fine.\n\n``` shell\n$ php -S 0.0.0.0:8000\n```\n\nGenerate reference only after you are done with making changes and everything looks as it should be.\nInside `/node_modules/backstopjs` run.\n\n``` shell\n$ npm run reference\n```\n\nAfter making a change run test.\nInside `/node_modules/backstopjs` run.\n\n``` shell\n$ npm run test\n```\n\nThen open the test folder with correct time stamp and compare the images for visual difference or navigate in your browser to:\n\n`localhost:3001`\n","created_at":"2016-09-24T18:12:38Z","updated_at":"2016-11-05T12:48:24Z","closed_at":"2016-11-05T12:48:24Z","merged_at":"2016-11-05T12:48:24Z","merge_commit_sha":"01f4cebddc58779be1c3758ef11619eeeb7f8ca6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nikolaknot/site-project/pulls/12/commits","review_comments_url":"https://api.github.com/repos/nikolaknot/site-project/pulls/12/comments","review_comment_url":"https://api.github.com/repos/nikolaknot/site-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nikolaknot/site-project/issues/12/comments","statuses_url":"https://api.github.com/repos/nikolaknot/site-project/statuses/52e95c1c0fd99ff8622d4fc69b9e0705783cdfbb","head":{"label":"borisknot:backstopjs","ref":"backstopjs","sha":"52e95c1c0fd99ff8622d4fc69b9e0705783cdfbb","user":{"login":"borisknot","id":6977824,"avatar_url":"https://avatars.githubusercontent.com/u/6977824?v=3","gravatar_id":"","url":"https://api.github.com/users/borisknot","html_url":"https://github.com/borisknot","followers_url":"https://api.github.com/users/borisknot/followers","following_url":"https://api.github.com/users/borisknot/following{/other_user}","gists_url":"https://api.github.com/users/borisknot/gists{/gist_id}","starred_url":"https://api.github.com/users/borisknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisknot/subscriptions","organizations_url":"https://api.github.com/users/borisknot/orgs","repos_url":"https://api.github.com/users/borisknot/repos","events_url":"https://api.github.com/users/borisknot/events{/privacy}","received_events_url":"https://api.github.com/users/borisknot/received_events","type":"User","site_admin":false},"repo":{"id":61424822,"name":"site-project","full_name":"borisknot/site-project","owner":{"login":"borisknot","id":6977824,"avatar_url":"https://avatars.githubusercontent.com/u/6977824?v=3","gravatar_id":"","url":"https://api.github.com/users/borisknot","html_url":"https://github.com/borisknot","followers_url":"https://api.github.com/users/borisknot/followers","following_url":"https://api.github.com/users/borisknot/following{/other_user}","gists_url":"https://api.github.com/users/borisknot/gists{/gist_id}","starred_url":"https://api.github.com/users/borisknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisknot/subscriptions","organizations_url":"https://api.github.com/users/borisknot/orgs","repos_url":"https://api.github.com/users/borisknot/repos","events_url":"https://api.github.com/users/borisknot/events{/privacy}","received_events_url":"https://api.github.com/users/borisknot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borisknot/site-project","description":null,"fork":true,"url":"https://api.github.com/repos/borisknot/site-project","forks_url":"https://api.github.com/repos/borisknot/site-project/forks","keys_url":"https://api.github.com/repos/borisknot/site-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borisknot/site-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borisknot/site-project/teams","hooks_url":"https://api.github.com/repos/borisknot/site-project/hooks","issue_events_url":"https://api.github.com/repos/borisknot/site-project/issues/events{/number}","events_url":"https://api.github.com/repos/borisknot/site-project/events","assignees_url":"https://api.github.com/repos/borisknot/site-project/assignees{/user}","branches_url":"https://api.github.com/repos/borisknot/site-project/branches{/branch}","tags_url":"https://api.github.com/repos/borisknot/site-project/tags","blobs_url":"https://api.github.com/repos/borisknot/site-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borisknot/site-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borisknot/site-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/borisknot/site-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borisknot/site-project/statuses/{sha}","languages_url":"https://api.github.com/repos/borisknot/site-project/languages","stargazers_url":"https://api.github.com/repos/borisknot/site-project/stargazers","contributors_url":"https://api.github.com/repos/borisknot/site-project/contributors","subscribers_url":"https://api.github.com/repos/borisknot/site-project/subscribers","subscription_url":"https://api.github.com/repos/borisknot/site-project/subscription","commits_url":"https://api.github.com/repos/borisknot/site-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/borisknot/site-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/borisknot/site-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/borisknot/site-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/borisknot/site-project/contents/{+path}","compare_url":"https://api.github.com/repos/borisknot/site-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borisknot/site-project/merges","archive_url":"https://api.github.com/repos/borisknot/site-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borisknot/site-project/downloads","issues_url":"https://api.github.com/repos/borisknot/site-project/issues{/number}","pulls_url":"https://api.github.com/repos/borisknot/site-project/pulls{/number}","milestones_url":"https://api.github.com/repos/borisknot/site-project/milestones{/number}","notifications_url":"https://api.github.com/repos/borisknot/site-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borisknot/site-project/labels{/name}","releases_url":"https://api.github.com/repos/borisknot/site-project/releases{/id}","deployments_url":"https://api.github.com/repos/borisknot/site-project/deployments","created_at":"2016-06-18T08:40:01Z","updated_at":"2016-06-18T08:40:02Z","pushed_at":"2016-09-24T18:27:09Z","git_url":"git://github.com/borisknot/site-project.git","ssh_url":"git@github.com:borisknot/site-project.git","clone_url":"https://github.com/borisknot/site-project.git","svn_url":"https://github.com/borisknot/site-project","homepage":null,"size":173,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nikolaknot:master","ref":"master","sha":"3c0b3cc4806be10c1be41bdb796b54f5f8b42271","user":{"login":"nikolaknot","id":16271845,"avatar_url":"https://avatars.githubusercontent.com/u/16271845?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolaknot","html_url":"https://github.com/nikolaknot","followers_url":"https://api.github.com/users/nikolaknot/followers","following_url":"https://api.github.com/users/nikolaknot/following{/other_user}","gists_url":"https://api.github.com/users/nikolaknot/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolaknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolaknot/subscriptions","organizations_url":"https://api.github.com/users/nikolaknot/orgs","repos_url":"https://api.github.com/users/nikolaknot/repos","events_url":"https://api.github.com/users/nikolaknot/events{/privacy}","received_events_url":"https://api.github.com/users/nikolaknot/received_events","type":"User","site_admin":false},"repo":{"id":56341996,"name":"site-project","full_name":"nikolaknot/site-project","owner":{"login":"nikolaknot","id":16271845,"avatar_url":"https://avatars.githubusercontent.com/u/16271845?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolaknot","html_url":"https://github.com/nikolaknot","followers_url":"https://api.github.com/users/nikolaknot/followers","following_url":"https://api.github.com/users/nikolaknot/following{/other_user}","gists_url":"https://api.github.com/users/nikolaknot/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolaknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolaknot/subscriptions","organizations_url":"https://api.github.com/users/nikolaknot/orgs","repos_url":"https://api.github.com/users/nikolaknot/repos","events_url":"https://api.github.com/users/nikolaknot/events{/privacy}","received_events_url":"https://api.github.com/users/nikolaknot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikolaknot/site-project","description":null,"fork":false,"url":"https://api.github.com/repos/nikolaknot/site-project","forks_url":"https://api.github.com/repos/nikolaknot/site-project/forks","keys_url":"https://api.github.com/repos/nikolaknot/site-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikolaknot/site-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikolaknot/site-project/teams","hooks_url":"https://api.github.com/repos/nikolaknot/site-project/hooks","issue_events_url":"https://api.github.com/repos/nikolaknot/site-project/issues/events{/number}","events_url":"https://api.github.com/repos/nikolaknot/site-project/events","assignees_url":"https://api.github.com/repos/nikolaknot/site-project/assignees{/user}","branches_url":"https://api.github.com/repos/nikolaknot/site-project/branches{/branch}","tags_url":"https://api.github.com/repos/nikolaknot/site-project/tags","blobs_url":"https://api.github.com/repos/nikolaknot/site-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikolaknot/site-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikolaknot/site-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikolaknot/site-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikolaknot/site-project/statuses/{sha}","languages_url":"https://api.github.com/repos/nikolaknot/site-project/languages","stargazers_url":"https://api.github.com/repos/nikolaknot/site-project/stargazers","contributors_url":"https://api.github.com/repos/nikolaknot/site-project/contributors","subscribers_url":"https://api.github.com/repos/nikolaknot/site-project/subscribers","subscription_url":"https://api.github.com/repos/nikolaknot/site-project/subscription","commits_url":"https://api.github.com/repos/nikolaknot/site-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikolaknot/site-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikolaknot/site-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikolaknot/site-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikolaknot/site-project/contents/{+path}","compare_url":"https://api.github.com/repos/nikolaknot/site-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikolaknot/site-project/merges","archive_url":"https://api.github.com/repos/nikolaknot/site-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikolaknot/site-project/downloads","issues_url":"https://api.github.com/repos/nikolaknot/site-project/issues{/number}","pulls_url":"https://api.github.com/repos/nikolaknot/site-project/pulls{/number}","milestones_url":"https://api.github.com/repos/nikolaknot/site-project/milestones{/number}","notifications_url":"https://api.github.com/repos/nikolaknot/site-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikolaknot/site-project/labels{/name}","releases_url":"https://api.github.com/repos/nikolaknot/site-project/releases{/id}","deployments_url":"https://api.github.com/repos/nikolaknot/site-project/deployments","created_at":"2016-04-15T18:40:28Z","updated_at":"2016-04-16T10:10:35Z","pushed_at":"2016-11-05T12:48:24Z","git_url":"git://github.com/nikolaknot/site-project.git","ssh_url":"git@github.com:nikolaknot/site-project.git","clone_url":"https://github.com/nikolaknot/site-project.git","svn_url":"https://github.com/nikolaknot/site-project","homepage":null,"size":170,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nikolaknot/site-project/pulls/12"},"html":{"href":"https://github.com/nikolaknot/site-project/pull/12"},"issue":{"href":"https://api.github.com/repos/nikolaknot/site-project/issues/12"},"comments":{"href":"https://api.github.com/repos/nikolaknot/site-project/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/nikolaknot/site-project/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/nikolaknot/site-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nikolaknot/site-project/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/nikolaknot/site-project/statuses/52e95c1c0fd99ff8622d4fc69b9e0705783cdfbb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nikolaknot","id":16271845,"avatar_url":"https://avatars.githubusercontent.com/u/16271845?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolaknot","html_url":"https://github.com/nikolaknot","followers_url":"https://api.github.com/users/nikolaknot/followers","following_url":"https://api.github.com/users/nikolaknot/following{/other_user}","gists_url":"https://api.github.com/users/nikolaknot/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolaknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolaknot/subscriptions","organizations_url":"https://api.github.com/users/nikolaknot/orgs","repos_url":"https://api.github.com/users/nikolaknot/repos","events_url":"https://api.github.com/users/nikolaknot/events{/privacy}","received_events_url":"https://api.github.com/users/nikolaknot/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":86,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"nikolaknot"}}