{"action":"created","comment":{"url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/comments/177107204","pull_request_review_id":106922600,"id":177107204,"diff_hunk":"@@ -0,0 +1,1497 @@\n+//\n+// **** Kitchen Sink Tests ****\n+//\n+// This app was developed to demonstrate\n+// how to write tests in Cypress utilizing\n+// all of the available commands\n+//\n+// Feel free to modify this spec in your\n+// own application as a jumping off point\n+\n+// Please read our \"Introduction to Cypress\"\n+// https://on.cypress.io/introduction-to-cypress\n+\n+describe('Kitchen Sink', function () {\n+  it('.should() - assert that <title> is correct', function () {\n+    // https://on.cypress.io/visit\n+    cy.visit('https://example.cypress.io')\n+\n+    // Here we've made our first assertion using a '.should()' command.\n+    // An assertion is comprised of a chainer, subject, and optional value.\n+\n+    // https://on.cypress.io/should\n+    // https://on.cypress.io/and\n+\n+    // https://on.cypress.io/title\n+    cy.title().should('include', 'Kitchen Sink')\n+    //   ↲               ↲            ↲\n+    // subject        chainer      value\n+  })","path":"cypress/integration/example_spec.js","position":29,"original_position":29,"commit_id":"d6640fe29a91d34aa7469894097d7a76bb04232c","original_commit_id":"d6640fe29a91d34aa7469894097d7a76bb04232c","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Expected indentation of 4 spaces but found 2. (indent)](https://app.codacy.com/app/4dn/fourfront/pullRequest?prid=1445809)","created_at":"2018-03-26T14:20:08Z","updated_at":"2018-03-26T14:20:08Z","html_url":"https://github.com/4dn-dcic/fourfront/pull/740#discussion_r177107204","pull_request_url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/comments/177107204"},"html":{"href":"https://github.com/4dn-dcic/fourfront/pull/740#discussion_r177107204"},"pull_request":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740"}}},"pull_request":{"url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740","id":175801796,"html_url":"https://github.com/4dn-dcic/fourfront/pull/740","diff_url":"https://github.com/4dn-dcic/fourfront/pull/740.diff","patch_url":"https://github.com/4dn-dcic/fourfront/pull/740.patch","issue_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues/740","number":740,"state":"open","locked":false,"title":"Preliminary Selenium Tests (No Deployment Integration Yet)","user":{"login":"alexkb0009","id":10673737,"avatar_url":"https://avatars2.githubusercontent.com/u/10673737?v=4","gravatar_id":"","url":"https://api.github.com/users/alexkb0009","html_url":"https://github.com/alexkb0009","followers_url":"https://api.github.com/users/alexkb0009/followers","following_url":"https://api.github.com/users/alexkb0009/following{/other_user}","gists_url":"https://api.github.com/users/alexkb0009/gists{/gist_id}","starred_url":"https://api.github.com/users/alexkb0009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexkb0009/subscriptions","organizations_url":"https://api.github.com/users/alexkb0009/orgs","repos_url":"https://api.github.com/users/alexkb0009/repos","events_url":"https://api.github.com/users/alexkb0009/events{/privacy}","received_events_url":"https://api.github.com/users/alexkb0009/received_events","type":"User","site_admin":false},"body":"Some of these tests will fail until es_search_sort makes its way up to staging etc.\r\n\r\n### Command-line examples:\r\n#### Remote (e.g. staging, hotseat) from Local (chromedriver install req'd)\r\n```cmd\r\nbin/test -v -v -m \"postdeploy\" \\\r\n      --splinter-implicit-wait 10 \\\r\n      --splinter-webdriver chrome \\\r\n      --splinter-socket-timeout 300 \\\r\n      --splinter-webdriver-executable /Users/alex/executables/chromedriver \\   <-- EDIT\r\n      --host-url fourfront-hotseat.9wzadzju3p.us-east-1.elasticbeanstalk.com \\\r\n      ./src/encoded/tests/post_deploy\r\n```\r\n#### Local from Local (e.g. localhost:8000) -- sub-set of tests (chromedriver install req'd)\r\n```cmd\r\nbin/test -v -v -m \"postdeploy_local\" \\\r\n      --splinter-implicit-wait 10 \\\r\n      --splinter-webdriver chrome \\\r\n      --splinter-socket-timeout 300 \\\r\n      --splinter-webdriver-executable /Users/alex/executables/chromedriver \\   <-- EDIT\r\n      --host-url localhost:8000 \\\r\n      ./src/encoded/tests/post_deploy\r\n```\r\n\r\n#### Remote from Travis (untested!)\r\n```cmd\r\nbin/test -v -v -m \"postdeploy\" \\\r\n      --splinter-implicit-wait 10 \\\r\n      --splinter-webdriver remote \\\r\n      --splinter-remote-url \"http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@localhost:4445/wd/hub\" \\\r\n      --splinter-socket-timeout 300 \\\r\n      --browser-arg tunnel-identifier \"$TRAVIS_JOB_NUMBER\" \\\r\n      --browser-arg-int build  \"$TRAVIS_BUILD_NUMBER\" \\\r\n      --browser-arg-int idleTimeout 300 \\\r\n      --browser-arg name \"$TRAVIS_REPO_SLUG $TRAVIS_BRANCH $TRAVIS_COMMIT\" \\\r\n      --browser-arg browser \"$BROWSER\" \\\r\n      --host-url staging.4dnucleome.org \\       <-- EDIT\r\n      ./src/encoded/tests/post_deploy\r\n```\r\n\r\nShould look like (failure of `test_search_for_olfactory_paged_result_consistency` expected until es_search_sort is on data.4dn) -- https://gyazo.com/906ebade3f2db7ad3a6fc2d0113563dd","created_at":"2018-03-19T04:20:00Z","updated_at":"2018-03-26T14:20:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea096f7455e50272ed7f3a00f356159e7aeb720a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740/commits","review_comments_url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740/comments","review_comment_url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/comments{/number}","comments_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues/740/comments","statuses_url":"https://api.github.com/repos/4dn-dcic/fourfront/statuses/d6640fe29a91d34aa7469894097d7a76bb04232c","head":{"label":"4dn-dcic:selenium","ref":"selenium","sha":"d6640fe29a91d34aa7469894097d7a76bb04232c","user":{"login":"4dn-dcic","id":23222469,"avatar_url":"https://avatars3.githubusercontent.com/u/23222469?v=4","gravatar_id":"","url":"https://api.github.com/users/4dn-dcic","html_url":"https://github.com/4dn-dcic","followers_url":"https://api.github.com/users/4dn-dcic/followers","following_url":"https://api.github.com/users/4dn-dcic/following{/other_user}","gists_url":"https://api.github.com/users/4dn-dcic/gists{/gist_id}","starred_url":"https://api.github.com/users/4dn-dcic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4dn-dcic/subscriptions","organizations_url":"https://api.github.com/users/4dn-dcic/orgs","repos_url":"https://api.github.com/users/4dn-dcic/repos","events_url":"https://api.github.com/users/4dn-dcic/events{/privacy}","received_events_url":"https://api.github.com/users/4dn-dcic/received_events","type":"Organization","site_admin":false},"repo":{"id":58398322,"name":"fourfront","full_name":"4dn-dcic/fourfront","owner":{"login":"4dn-dcic","id":23222469,"avatar_url":"https://avatars3.githubusercontent.com/u/23222469?v=4","gravatar_id":"","url":"https://api.github.com/users/4dn-dcic","html_url":"https://github.com/4dn-dcic","followers_url":"https://api.github.com/users/4dn-dcic/followers","following_url":"https://api.github.com/users/4dn-dcic/following{/other_user}","gists_url":"https://api.github.com/users/4dn-dcic/gists{/gist_id}","starred_url":"https://api.github.com/users/4dn-dcic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4dn-dcic/subscriptions","organizations_url":"https://api.github.com/users/4dn-dcic/orgs","repos_url":"https://api.github.com/users/4dn-dcic/repos","events_url":"https://api.github.com/users/4dn-dcic/events{/privacy}","received_events_url":"https://api.github.com/users/4dn-dcic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4dn-dcic/fourfront","description":"website for submitting and viewing genomic data","fork":false,"url":"https://api.github.com/repos/4dn-dcic/fourfront","forks_url":"https://api.github.com/repos/4dn-dcic/fourfront/forks","keys_url":"https://api.github.com/repos/4dn-dcic/fourfront/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4dn-dcic/fourfront/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4dn-dcic/fourfront/teams","hooks_url":"https://api.github.com/repos/4dn-dcic/fourfront/hooks","issue_events_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues/events{/number}","events_url":"https://api.github.com/repos/4dn-dcic/fourfront/events","assignees_url":"https://api.github.com/repos/4dn-dcic/fourfront/assignees{/user}","branches_url":"https://api.github.com/repos/4dn-dcic/fourfront/branches{/branch}","tags_url":"https://api.github.com/repos/4dn-dcic/fourfront/tags","blobs_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/refs{/sha}","trees_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4dn-dcic/fourfront/statuses/{sha}","languages_url":"https://api.github.com/repos/4dn-dcic/fourfront/languages","stargazers_url":"https://api.github.com/repos/4dn-dcic/fourfront/stargazers","contributors_url":"https://api.github.com/repos/4dn-dcic/fourfront/contributors","subscribers_url":"https://api.github.com/repos/4dn-dcic/fourfront/subscribers","subscription_url":"https://api.github.com/repos/4dn-dcic/fourfront/subscription","commits_url":"https://api.github.com/repos/4dn-dcic/fourfront/commits{/sha}","git_commits_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/commits{/sha}","comments_url":"https://api.github.com/repos/4dn-dcic/fourfront/comments{/number}","issue_comment_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues/comments{/number}","contents_url":"https://api.github.com/repos/4dn-dcic/fourfront/contents/{+path}","compare_url":"https://api.github.com/repos/4dn-dcic/fourfront/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4dn-dcic/fourfront/merges","archive_url":"https://api.github.com/repos/4dn-dcic/fourfront/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4dn-dcic/fourfront/downloads","issues_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues{/number}","pulls_url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls{/number}","milestones_url":"https://api.github.com/repos/4dn-dcic/fourfront/milestones{/number}","notifications_url":"https://api.github.com/repos/4dn-dcic/fourfront/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4dn-dcic/fourfront/labels{/name}","releases_url":"https://api.github.com/repos/4dn-dcic/fourfront/releases{/id}","deployments_url":"https://api.github.com/repos/4dn-dcic/fourfront/deployments","created_at":"2016-05-09T18:19:56Z","updated_at":"2018-03-26T02:31:16Z","pushed_at":"2018-03-26T14:10:52Z","git_url":"git://github.com/4dn-dcic/fourfront.git","ssh_url":"git@github.com:4dn-dcic/fourfront.git","clone_url":"https://github.com/4dn-dcic/fourfront.git","svn_url":"https://github.com/4dn-dcic/fourfront","homepage":null,"size":182324,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":6,"watchers":5,"default_branch":"master"}},"base":{"label":"4dn-dcic:master","ref":"master","sha":"ceaa0f7b6c7f138993645fd3109d963aa107b27f","user":{"login":"4dn-dcic","id":23222469,"avatar_url":"https://avatars3.githubusercontent.com/u/23222469?v=4","gravatar_id":"","url":"https://api.github.com/users/4dn-dcic","html_url":"https://github.com/4dn-dcic","followers_url":"https://api.github.com/users/4dn-dcic/followers","following_url":"https://api.github.com/users/4dn-dcic/following{/other_user}","gists_url":"https://api.github.com/users/4dn-dcic/gists{/gist_id}","starred_url":"https://api.github.com/users/4dn-dcic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4dn-dcic/subscriptions","organizations_url":"https://api.github.com/users/4dn-dcic/orgs","repos_url":"https://api.github.com/users/4dn-dcic/repos","events_url":"https://api.github.com/users/4dn-dcic/events{/privacy}","received_events_url":"https://api.github.com/users/4dn-dcic/received_events","type":"Organization","site_admin":false},"repo":{"id":58398322,"name":"fourfront","full_name":"4dn-dcic/fourfront","owner":{"login":"4dn-dcic","id":23222469,"avatar_url":"https://avatars3.githubusercontent.com/u/23222469?v=4","gravatar_id":"","url":"https://api.github.com/users/4dn-dcic","html_url":"https://github.com/4dn-dcic","followers_url":"https://api.github.com/users/4dn-dcic/followers","following_url":"https://api.github.com/users/4dn-dcic/following{/other_user}","gists_url":"https://api.github.com/users/4dn-dcic/gists{/gist_id}","starred_url":"https://api.github.com/users/4dn-dcic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4dn-dcic/subscriptions","organizations_url":"https://api.github.com/users/4dn-dcic/orgs","repos_url":"https://api.github.com/users/4dn-dcic/repos","events_url":"https://api.github.com/users/4dn-dcic/events{/privacy}","received_events_url":"https://api.github.com/users/4dn-dcic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4dn-dcic/fourfront","description":"website for submitting and viewing genomic data","fork":false,"url":"https://api.github.com/repos/4dn-dcic/fourfront","forks_url":"https://api.github.com/repos/4dn-dcic/fourfront/forks","keys_url":"https://api.github.com/repos/4dn-dcic/fourfront/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4dn-dcic/fourfront/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4dn-dcic/fourfront/teams","hooks_url":"https://api.github.com/repos/4dn-dcic/fourfront/hooks","issue_events_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues/events{/number}","events_url":"https://api.github.com/repos/4dn-dcic/fourfront/events","assignees_url":"https://api.github.com/repos/4dn-dcic/fourfront/assignees{/user}","branches_url":"https://api.github.com/repos/4dn-dcic/fourfront/branches{/branch}","tags_url":"https://api.github.com/repos/4dn-dcic/fourfront/tags","blobs_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/refs{/sha}","trees_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4dn-dcic/fourfront/statuses/{sha}","languages_url":"https://api.github.com/repos/4dn-dcic/fourfront/languages","stargazers_url":"https://api.github.com/repos/4dn-dcic/fourfront/stargazers","contributors_url":"https://api.github.com/repos/4dn-dcic/fourfront/contributors","subscribers_url":"https://api.github.com/repos/4dn-dcic/fourfront/subscribers","subscription_url":"https://api.github.com/repos/4dn-dcic/fourfront/subscription","commits_url":"https://api.github.com/repos/4dn-dcic/fourfront/commits{/sha}","git_commits_url":"https://api.github.com/repos/4dn-dcic/fourfront/git/commits{/sha}","comments_url":"https://api.github.com/repos/4dn-dcic/fourfront/comments{/number}","issue_comment_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues/comments{/number}","contents_url":"https://api.github.com/repos/4dn-dcic/fourfront/contents/{+path}","compare_url":"https://api.github.com/repos/4dn-dcic/fourfront/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4dn-dcic/fourfront/merges","archive_url":"https://api.github.com/repos/4dn-dcic/fourfront/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4dn-dcic/fourfront/downloads","issues_url":"https://api.github.com/repos/4dn-dcic/fourfront/issues{/number}","pulls_url":"https://api.github.com/repos/4dn-dcic/fourfront/pulls{/number}","milestones_url":"https://api.github.com/repos/4dn-dcic/fourfront/milestones{/number}","notifications_url":"https://api.github.com/repos/4dn-dcic/fourfront/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4dn-dcic/fourfront/labels{/name}","releases_url":"https://api.github.com/repos/4dn-dcic/fourfront/releases{/id}","deployments_url":"https://api.github.com/repos/4dn-dcic/fourfront/deployments","created_at":"2016-05-09T18:19:56Z","updated_at":"2018-03-26T02:31:16Z","pushed_at":"2018-03-26T14:10:52Z","git_url":"git://github.com/4dn-dcic/fourfront.git","ssh_url":"git@github.com:4dn-dcic/fourfront.git","clone_url":"https://github.com/4dn-dcic/fourfront.git","svn_url":"https://github.com/4dn-dcic/fourfront","homepage":null,"size":182324,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":6,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740"},"html":{"href":"https://github.com/4dn-dcic/fourfront/pull/740"},"issue":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/issues/740"},"comments":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/issues/740/comments"},"review_comments":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740/comments"},"review_comment":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/pulls/740/commits"},"statuses":{"href":"https://api.github.com/repos/4dn-dcic/fourfront/statuses/d6640fe29a91d34aa7469894097d7a76bb04232c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codacy-bot"}}