{"action":"created","comment":{"url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/comments/245387599","pull_request_review_id":189485509,"id":245387599,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTM4NzU5OQ==","diff_hunk":"@@ -157,9 +157,22 @@ class BounceRulesPage extends Page {\n     return this.confirmationSubmit.click();\n   }\n \n-  deleteBounceRuleUI(id) {\n-    this.createdRuleButton(id).click();\n-    return this.deleteConfirmationConfirm.click();\n+  deleteBounceRuleUI(testRule) {\n+    cy.task(\"getRules\").then(res => {\n+      for (let i = 0; i < res.length; i++) {","path":"cypress/pages/BounceRulesContainer/index.js","position":9,"original_position":9,"commit_id":"c3a4e40db5a1c27562f0969feddfcc3552162424","original_commit_id":"c3a4e40db5a1c27562f0969feddfcc3552162424","user":{"login":"alfredlucero","id":11841941,"node_id":"MDQ6VXNlcjExODQxOTQx","avatar_url":"https://avatars0.githubusercontent.com/u/11841941?v=4","gravatar_id":"","url":"https://api.github.com/users/alfredlucero","html_url":"https://github.com/alfredlucero","followers_url":"https://api.github.com/users/alfredlucero/followers","following_url":"https://api.github.com/users/alfredlucero/following{/other_user}","gists_url":"https://api.github.com/users/alfredlucero/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredlucero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredlucero/subscriptions","organizations_url":"https://api.github.com/users/alfredlucero/orgs","repos_url":"https://api.github.com/users/alfredlucero/repos","events_url":"https://api.github.com/users/alfredlucero/events{/privacy}","received_events_url":"https://api.github.com/users/alfredlucero/received_events","type":"User","site_admin":false},"body":"Same here let's change all for loops to use the array helpers since they're functional and easier to understand the intent. We can do stuff with arr.find and arr.some and rearrange this to be a lot shorter and descriptive","created_at":"2019-01-04T18:53:51Z","updated_at":"2019-01-04T18:53:51Z","html_url":"https://github.com/productdana/sgbouncewizard/pull/26#discussion_r245387599","pull_request_url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/comments/245387599"},"html":{"href":"https://github.com/productdana/sgbouncewizard/pull/26#discussion_r245387599"},"pull_request":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26","id":242062062,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMDYyMDYy","html_url":"https://github.com/productdana/sgbouncewizard/pull/26","diff_url":"https://github.com/productdana/sgbouncewizard/pull/26.diff","patch_url":"https://github.com/productdana/sgbouncewizard/pull/26.patch","issue_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues/26","number":26,"state":"open","locked":false,"title":"Details Page: Changelog + Update Rule","user":{"login":"kennymatsudo","id":26265748,"node_id":"MDQ6VXNlcjI2MjY1NzQ4","avatar_url":"https://avatars2.githubusercontent.com/u/26265748?v=4","gravatar_id":"","url":"https://api.github.com/users/kennymatsudo","html_url":"https://github.com/kennymatsudo","followers_url":"https://api.github.com/users/kennymatsudo/followers","following_url":"https://api.github.com/users/kennymatsudo/following{/other_user}","gists_url":"https://api.github.com/users/kennymatsudo/gists{/gist_id}","starred_url":"https://api.github.com/users/kennymatsudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennymatsudo/subscriptions","organizations_url":"https://api.github.com/users/kennymatsudo/orgs","repos_url":"https://api.github.com/users/kennymatsudo/repos","events_url":"https://api.github.com/users/kennymatsudo/events{/privacy}","received_events_url":"https://api.github.com/users/kennymatsudo/received_events","type":"User","site_admin":false},"body":"Update Rules + Changelog:\r\nPulls changelog from docker database and updates changelog upon successful PUT. \r\nhttps://trello.com/c/3fjLiVTy/103-update-rules-changelog\r\n\r\n- [x] Acceptance Criteria is clear and concise\r\n- [x] Tests written and passing\r\n- [ ] Storybook story added (if applicable)\r\n- [x] Include screenshot (if UI change)\r\n- [ ] Code Reviewed\r\n![image](https://user-images.githubusercontent.com/26265748/50652164-71023280-0f3a-11e9-9477-fd929789f8fd.png)\r\n","created_at":"2019-01-03T17:34:16Z","updated_at":"2019-01-04T18:53:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92bd6328959a0d26e0def80afd48bad6dbe1da7f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"productdana","id":16156770,"node_id":"MDQ6VXNlcjE2MTU2Nzcw","avatar_url":"https://avatars0.githubusercontent.com/u/16156770?v=4","gravatar_id":"","url":"https://api.github.com/users/productdana","html_url":"https://github.com/productdana","followers_url":"https://api.github.com/users/productdana/followers","following_url":"https://api.github.com/users/productdana/following{/other_user}","gists_url":"https://api.github.com/users/productdana/gists{/gist_id}","starred_url":"https://api.github.com/users/productdana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/productdana/subscriptions","organizations_url":"https://api.github.com/users/productdana/orgs","repos_url":"https://api.github.com/users/productdana/repos","events_url":"https://api.github.com/users/productdana/events{/privacy}","received_events_url":"https://api.github.com/users/productdana/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26/commits","review_comments_url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26/comments","review_comment_url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues/26/comments","statuses_url":"https://api.github.com/repos/productdana/sgbouncewizard/statuses/c3a4e40db5a1c27562f0969feddfcc3552162424","head":{"label":"productdana:changelog","ref":"changelog","sha":"c3a4e40db5a1c27562f0969feddfcc3552162424","user":{"login":"productdana","id":16156770,"node_id":"MDQ6VXNlcjE2MTU2Nzcw","avatar_url":"https://avatars0.githubusercontent.com/u/16156770?v=4","gravatar_id":"","url":"https://api.github.com/users/productdana","html_url":"https://github.com/productdana","followers_url":"https://api.github.com/users/productdana/followers","following_url":"https://api.github.com/users/productdana/following{/other_user}","gists_url":"https://api.github.com/users/productdana/gists{/gist_id}","starred_url":"https://api.github.com/users/productdana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/productdana/subscriptions","organizations_url":"https://api.github.com/users/productdana/orgs","repos_url":"https://api.github.com/users/productdana/repos","events_url":"https://api.github.com/users/productdana/events{/privacy}","received_events_url":"https://api.github.com/users/productdana/received_events","type":"User","site_admin":false},"repo":{"id":151170219,"node_id":"MDEwOlJlcG9zaXRvcnkxNTExNzAyMTk=","name":"sgbouncewizard","full_name":"productdana/sgbouncewizard","private":false,"owner":{"login":"productdana","id":16156770,"node_id":"MDQ6VXNlcjE2MTU2Nzcw","avatar_url":"https://avatars0.githubusercontent.com/u/16156770?v=4","gravatar_id":"","url":"https://api.github.com/users/productdana","html_url":"https://github.com/productdana","followers_url":"https://api.github.com/users/productdana/followers","following_url":"https://api.github.com/users/productdana/following{/other_user}","gists_url":"https://api.github.com/users/productdana/gists{/gist_id}","starred_url":"https://api.github.com/users/productdana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/productdana/subscriptions","organizations_url":"https://api.github.com/users/productdana/orgs","repos_url":"https://api.github.com/users/productdana/repos","events_url":"https://api.github.com/users/productdana/events{/privacy}","received_events_url":"https://api.github.com/users/productdana/received_events","type":"User","site_admin":false},"html_url":"https://github.com/productdana/sgbouncewizard","description":"UCI Capstone 2018-19 bounce wizard","fork":false,"url":"https://api.github.com/repos/productdana/sgbouncewizard","forks_url":"https://api.github.com/repos/productdana/sgbouncewizard/forks","keys_url":"https://api.github.com/repos/productdana/sgbouncewizard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/productdana/sgbouncewizard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/productdana/sgbouncewizard/teams","hooks_url":"https://api.github.com/repos/productdana/sgbouncewizard/hooks","issue_events_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues/events{/number}","events_url":"https://api.github.com/repos/productdana/sgbouncewizard/events","assignees_url":"https://api.github.com/repos/productdana/sgbouncewizard/assignees{/user}","branches_url":"https://api.github.com/repos/productdana/sgbouncewizard/branches{/branch}","tags_url":"https://api.github.com/repos/productdana/sgbouncewizard/tags","blobs_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/refs{/sha}","trees_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/productdana/sgbouncewizard/statuses/{sha}","languages_url":"https://api.github.com/repos/productdana/sgbouncewizard/languages","stargazers_url":"https://api.github.com/repos/productdana/sgbouncewizard/stargazers","contributors_url":"https://api.github.com/repos/productdana/sgbouncewizard/contributors","subscribers_url":"https://api.github.com/repos/productdana/sgbouncewizard/subscribers","subscription_url":"https://api.github.com/repos/productdana/sgbouncewizard/subscription","commits_url":"https://api.github.com/repos/productdana/sgbouncewizard/commits{/sha}","git_commits_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/commits{/sha}","comments_url":"https://api.github.com/repos/productdana/sgbouncewizard/comments{/number}","issue_comment_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues/comments{/number}","contents_url":"https://api.github.com/repos/productdana/sgbouncewizard/contents/{+path}","compare_url":"https://api.github.com/repos/productdana/sgbouncewizard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/productdana/sgbouncewizard/merges","archive_url":"https://api.github.com/repos/productdana/sgbouncewizard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/productdana/sgbouncewizard/downloads","issues_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues{/number}","pulls_url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls{/number}","milestones_url":"https://api.github.com/repos/productdana/sgbouncewizard/milestones{/number}","notifications_url":"https://api.github.com/repos/productdana/sgbouncewizard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/productdana/sgbouncewizard/labels{/name}","releases_url":"https://api.github.com/repos/productdana/sgbouncewizard/releases{/id}","deployments_url":"https://api.github.com/repos/productdana/sgbouncewizard/deployments","created_at":"2018-10-01T22:40:13Z","updated_at":"2019-01-03T22:54:58Z","pushed_at":"2019-01-04T06:28:23Z","git_url":"git://github.com/productdana/sgbouncewizard.git","ssh_url":"git@github.com:productdana/sgbouncewizard.git","clone_url":"https://github.com/productdana/sgbouncewizard.git","svn_url":"https://github.com/productdana/sgbouncewizard","homepage":null,"size":2438,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"license":null,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"productdana:master","ref":"master","sha":"e092874a95003a7bcff8286287803db74227f7e9","user":{"login":"productdana","id":16156770,"node_id":"MDQ6VXNlcjE2MTU2Nzcw","avatar_url":"https://avatars0.githubusercontent.com/u/16156770?v=4","gravatar_id":"","url":"https://api.github.com/users/productdana","html_url":"https://github.com/productdana","followers_url":"https://api.github.com/users/productdana/followers","following_url":"https://api.github.com/users/productdana/following{/other_user}","gists_url":"https://api.github.com/users/productdana/gists{/gist_id}","starred_url":"https://api.github.com/users/productdana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/productdana/subscriptions","organizations_url":"https://api.github.com/users/productdana/orgs","repos_url":"https://api.github.com/users/productdana/repos","events_url":"https://api.github.com/users/productdana/events{/privacy}","received_events_url":"https://api.github.com/users/productdana/received_events","type":"User","site_admin":false},"repo":{"id":151170219,"node_id":"MDEwOlJlcG9zaXRvcnkxNTExNzAyMTk=","name":"sgbouncewizard","full_name":"productdana/sgbouncewizard","private":false,"owner":{"login":"productdana","id":16156770,"node_id":"MDQ6VXNlcjE2MTU2Nzcw","avatar_url":"https://avatars0.githubusercontent.com/u/16156770?v=4","gravatar_id":"","url":"https://api.github.com/users/productdana","html_url":"https://github.com/productdana","followers_url":"https://api.github.com/users/productdana/followers","following_url":"https://api.github.com/users/productdana/following{/other_user}","gists_url":"https://api.github.com/users/productdana/gists{/gist_id}","starred_url":"https://api.github.com/users/productdana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/productdana/subscriptions","organizations_url":"https://api.github.com/users/productdana/orgs","repos_url":"https://api.github.com/users/productdana/repos","events_url":"https://api.github.com/users/productdana/events{/privacy}","received_events_url":"https://api.github.com/users/productdana/received_events","type":"User","site_admin":false},"html_url":"https://github.com/productdana/sgbouncewizard","description":"UCI Capstone 2018-19 bounce wizard","fork":false,"url":"https://api.github.com/repos/productdana/sgbouncewizard","forks_url":"https://api.github.com/repos/productdana/sgbouncewizard/forks","keys_url":"https://api.github.com/repos/productdana/sgbouncewizard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/productdana/sgbouncewizard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/productdana/sgbouncewizard/teams","hooks_url":"https://api.github.com/repos/productdana/sgbouncewizard/hooks","issue_events_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues/events{/number}","events_url":"https://api.github.com/repos/productdana/sgbouncewizard/events","assignees_url":"https://api.github.com/repos/productdana/sgbouncewizard/assignees{/user}","branches_url":"https://api.github.com/repos/productdana/sgbouncewizard/branches{/branch}","tags_url":"https://api.github.com/repos/productdana/sgbouncewizard/tags","blobs_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/refs{/sha}","trees_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/productdana/sgbouncewizard/statuses/{sha}","languages_url":"https://api.github.com/repos/productdana/sgbouncewizard/languages","stargazers_url":"https://api.github.com/repos/productdana/sgbouncewizard/stargazers","contributors_url":"https://api.github.com/repos/productdana/sgbouncewizard/contributors","subscribers_url":"https://api.github.com/repos/productdana/sgbouncewizard/subscribers","subscription_url":"https://api.github.com/repos/productdana/sgbouncewizard/subscription","commits_url":"https://api.github.com/repos/productdana/sgbouncewizard/commits{/sha}","git_commits_url":"https://api.github.com/repos/productdana/sgbouncewizard/git/commits{/sha}","comments_url":"https://api.github.com/repos/productdana/sgbouncewizard/comments{/number}","issue_comment_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues/comments{/number}","contents_url":"https://api.github.com/repos/productdana/sgbouncewizard/contents/{+path}","compare_url":"https://api.github.com/repos/productdana/sgbouncewizard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/productdana/sgbouncewizard/merges","archive_url":"https://api.github.com/repos/productdana/sgbouncewizard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/productdana/sgbouncewizard/downloads","issues_url":"https://api.github.com/repos/productdana/sgbouncewizard/issues{/number}","pulls_url":"https://api.github.com/repos/productdana/sgbouncewizard/pulls{/number}","milestones_url":"https://api.github.com/repos/productdana/sgbouncewizard/milestones{/number}","notifications_url":"https://api.github.com/repos/productdana/sgbouncewizard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/productdana/sgbouncewizard/labels{/name}","releases_url":"https://api.github.com/repos/productdana/sgbouncewizard/releases{/id}","deployments_url":"https://api.github.com/repos/productdana/sgbouncewizard/deployments","created_at":"2018-10-01T22:40:13Z","updated_at":"2019-01-03T22:54:58Z","pushed_at":"2019-01-04T06:28:23Z","git_url":"git://github.com/productdana/sgbouncewizard.git","ssh_url":"git@github.com:productdana/sgbouncewizard.git","clone_url":"https://github.com/productdana/sgbouncewizard.git","svn_url":"https://github.com/productdana/sgbouncewizard","homepage":null,"size":2438,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"license":null,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26"},"html":{"href":"https://github.com/productdana/sgbouncewizard/pull/26"},"issue":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/issues/26"},"comments":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/productdana/sgbouncewizard/statuses/c3a4e40db5a1c27562f0969feddfcc3552162424"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"alfredlucero"}}