{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/comments/63470931","id":63470931,"diff_hunk":"@@ -0,0 +1,59 @@\n+var assert = require('assert');\n+var webdriverio = require('webdriverio');\n+\n+describe('Game', function () {\n+    this.timeout(20000);\n+\n+    function getBeforeOpacity(selector) {\n+        return browser.execute(`return getComputedStyle(document.querySelector('${selector}'),\n+     '::before').getPropertyValue('opacity')`).value;\n+    }\n+\n+    beforeEach(function () {\n+        browser.url('http://panicky-car.surge.sh/');\n+    });\n+\n+    it('should be visible card', function () {\n+        browser.click('label[for=\"c-0-0\"]');\n+        assert.equal(getBeforeOpacity('[for=\"c-0-0\"]'), 1);\n+    });\n+\n+    it('should be visible right pair', function () {\n+        browser.click('label[for=\"c-0-0\"]');\n+        browser.click('label[for=\"heart\"]');\n+\n+        assert.equal(getBeforeOpacity('[for=\"c-0-0\"]'), 1);\n+        assert.equal(getBeforeOpacity('[for=\"c-0-4\"]'), 1);\n+    });\n+\n+    it('should be hidden wrong pair', function () {\n+        browser.click('label[for=\"c-0-0\"]');\n+        browser.click('label[for=\"c-1-1\"]');\n+\n+        browser.pause(2000);\n+\n+        assert.equal(getBeforeOpacity('[for=\"c-0-0\"]'), 0);\n+        assert.equal(getBeforeOpacity('[for=\"c-0-1\"]'), 0);","path":"test.js","position":null,"original_position":36,"commit_id":"7328d31f18beee3a65926568dc9d4e75eb326023","original_commit_id":"4b38ae4b76f3e6bcfc34181372ddaf5324264ea8","user":{"login":"evilj0e","id":914429,"avatar_url":"https://avatars.githubusercontent.com/u/914429?v=3","gravatar_id":"","url":"https://api.github.com/users/evilj0e","html_url":"https://github.com/evilj0e","followers_url":"https://api.github.com/users/evilj0e/followers","following_url":"https://api.github.com/users/evilj0e/following{/other_user}","gists_url":"https://api.github.com/users/evilj0e/gists{/gist_id}","starred_url":"https://api.github.com/users/evilj0e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilj0e/subscriptions","organizations_url":"https://api.github.com/users/evilj0e/orgs","repos_url":"https://api.github.com/users/evilj0e/repos","events_url":"https://api.github.com/users/evilj0e/events{/privacy}","received_events_url":"https://api.github.com/users/evilj0e/received_events","type":"User","site_admin":false},"body":"🔥 ","created_at":"2016-05-17T06:39:41Z","updated_at":"2016-05-17T06:39:41Z","html_url":"https://github.com/urfu-2015/webdev-tasks-6/pull/13#discussion_r63470931","pull_request_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/comments/63470931"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-6/pull/13#discussion_r63470931"},"pull_request":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13","id":66918260,"html_url":"https://github.com/urfu-2015/webdev-tasks-6/pull/13","diff_url":"https://github.com/urfu-2015/webdev-tasks-6/pull/13.diff","patch_url":"https://github.com/urfu-2015/webdev-tasks-6/pull/13.patch","issue_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/issues/13","number":13,"state":"open","locked":false,"title":"Владимирова Виктория","user":{"login":"Victoria-Vladimirova","id":14944973,"avatar_url":"https://avatars.githubusercontent.com/u/14944973?v=3","gravatar_id":"","url":"https://api.github.com/users/Victoria-Vladimirova","html_url":"https://github.com/Victoria-Vladimirova","followers_url":"https://api.github.com/users/Victoria-Vladimirova/followers","following_url":"https://api.github.com/users/Victoria-Vladimirova/following{/other_user}","gists_url":"https://api.github.com/users/Victoria-Vladimirova/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoria-Vladimirova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoria-Vladimirova/subscriptions","organizations_url":"https://api.github.com/users/Victoria-Vladimirova/orgs","repos_url":"https://api.github.com/users/Victoria-Vladimirova/repos","events_url":"https://api.github.com/users/Victoria-Vladimirova/events{/privacy}","received_events_url":"https://api.github.com/users/Victoria-Vladimirova/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-18T20:41:02Z","updated_at":"2016-05-17T06:39:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d776e35093db3c85ce795fc67ae1a26ba54e63bb","assignee":{"login":"evilj0e","id":914429,"avatar_url":"https://avatars.githubusercontent.com/u/914429?v=3","gravatar_id":"","url":"https://api.github.com/users/evilj0e","html_url":"https://github.com/evilj0e","followers_url":"https://api.github.com/users/evilj0e/followers","following_url":"https://api.github.com/users/evilj0e/following{/other_user}","gists_url":"https://api.github.com/users/evilj0e/gists{/gist_id}","starred_url":"https://api.github.com/users/evilj0e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilj0e/subscriptions","organizations_url":"https://api.github.com/users/evilj0e/orgs","repos_url":"https://api.github.com/users/evilj0e/repos","events_url":"https://api.github.com/users/evilj0e/events{/privacy}","received_events_url":"https://api.github.com/users/evilj0e/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13/commits","review_comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13/comments","review_comment_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/issues/13/comments","statuses_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/statuses/7328d31f18beee3a65926568dc9d4e75eb326023","head":{"label":"Victoria-Vladimirova:master","ref":"master","sha":"7328d31f18beee3a65926568dc9d4e75eb326023","user":{"login":"Victoria-Vladimirova","id":14944973,"avatar_url":"https://avatars.githubusercontent.com/u/14944973?v=3","gravatar_id":"","url":"https://api.github.com/users/Victoria-Vladimirova","html_url":"https://github.com/Victoria-Vladimirova","followers_url":"https://api.github.com/users/Victoria-Vladimirova/followers","following_url":"https://api.github.com/users/Victoria-Vladimirova/following{/other_user}","gists_url":"https://api.github.com/users/Victoria-Vladimirova/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoria-Vladimirova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoria-Vladimirova/subscriptions","organizations_url":"https://api.github.com/users/Victoria-Vladimirova/orgs","repos_url":"https://api.github.com/users/Victoria-Vladimirova/repos","events_url":"https://api.github.com/users/Victoria-Vladimirova/events{/privacy}","received_events_url":"https://api.github.com/users/Victoria-Vladimirova/received_events","type":"User","site_admin":false},"repo":{"id":56317528,"name":"webdev-tasks-6","full_name":"Victoria-Vladimirova/webdev-tasks-6","owner":{"login":"Victoria-Vladimirova","id":14944973,"avatar_url":"https://avatars.githubusercontent.com/u/14944973?v=3","gravatar_id":"","url":"https://api.github.com/users/Victoria-Vladimirova","html_url":"https://github.com/Victoria-Vladimirova","followers_url":"https://api.github.com/users/Victoria-Vladimirova/followers","following_url":"https://api.github.com/users/Victoria-Vladimirova/following{/other_user}","gists_url":"https://api.github.com/users/Victoria-Vladimirova/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoria-Vladimirova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoria-Vladimirova/subscriptions","organizations_url":"https://api.github.com/users/Victoria-Vladimirova/orgs","repos_url":"https://api.github.com/users/Victoria-Vladimirova/repos","events_url":"https://api.github.com/users/Victoria-Vladimirova/events{/privacy}","received_events_url":"https://api.github.com/users/Victoria-Vladimirova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Victoria-Vladimirova/webdev-tasks-6","description":"Задача к лекции «Тестирование» – «Яндекс.Карты»","fork":true,"url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6","forks_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/forks","keys_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/teams","hooks_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/hooks","issue_events_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/issues/events{/number}","events_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/events","assignees_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/assignees{/user}","branches_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/branches{/branch}","tags_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/tags","blobs_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/git/refs{/sha}","trees_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/statuses/{sha}","languages_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/languages","stargazers_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/stargazers","contributors_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/contributors","subscribers_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/subscribers","subscription_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/subscription","commits_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/commits{/sha}","git_commits_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/git/commits{/sha}","comments_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/comments{/number}","issue_comment_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/issues/comments{/number}","contents_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/contents/{+path}","compare_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/merges","archive_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/downloads","issues_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/issues{/number}","pulls_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/pulls{/number}","milestones_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/milestones{/number}","notifications_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/labels{/name}","releases_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/releases{/id}","deployments_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-6/deployments","created_at":"2016-04-15T12:11:04Z","updated_at":"2016-04-18T20:40:34Z","pushed_at":"2016-05-16T11:57:03Z","git_url":"git://github.com/Victoria-Vladimirova/webdev-tasks-6.git","ssh_url":"git@github.com:Victoria-Vladimirova/webdev-tasks-6.git","clone_url":"https://github.com/Victoria-Vladimirova/webdev-tasks-6.git","svn_url":"https://github.com/Victoria-Vladimirova/webdev-tasks-6","homepage":"","size":50,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"urfu-2015:master","ref":"master","sha":"e1bc4bea9561501fb0e3c3fe4720ca912c76f9cb","user":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":56070830,"name":"webdev-tasks-6","full_name":"urfu-2015/webdev-tasks-6","owner":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2015/webdev-tasks-6","description":"Задача к лекции «Тестирование» – «Яндекс.Карты»","fork":false,"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6","forks_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/forks","keys_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/teams","hooks_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/hooks","issue_events_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/events","assignees_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/tags","blobs_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/languages","stargazers_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/stargazers","contributors_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/contributors","subscribers_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/subscribers","subscription_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/subscription","commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/merges","archive_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/downloads","issues_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/deployments","created_at":"2016-04-12T14:34:59Z","updated_at":"2016-04-13T19:37:13Z","pushed_at":"2016-05-16T11:57:03Z","git_url":"git://github.com/urfu-2015/webdev-tasks-6.git","ssh_url":"git@github.com:urfu-2015/webdev-tasks-6.git","clone_url":"https://github.com/urfu-2015/webdev-tasks-6.git","svn_url":"https://github.com/urfu-2015/webdev-tasks-6","homepage":"","size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":8,"forks":26,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-6/pull/13"},"issue":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/issues/13"},"comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-6/statuses/7328d31f18beee3a65926568dc9d4e75eb326023"}}}}