{"action":"created","comment":{"url":"https://api.github.com/repos/emgage/engage-ui/pulls/comments/130341029","pull_request_review_id":53203752,"id":130341029,"diff_hunk":"@@ -0,0 +1,84 @@\n+import * as React from 'react';\n+import { mount } from 'enzyme';\n+import TextField from '../../TextField/TextField';\n+import FormLayout from '../FormLayout';\n+import Group from '../Group';\n+\n+describe('FormLayout Component Suit', () => {\n+\n+  describe('Default FormLayout', () => {\n+    it('should verify the formlayout for number of components and keys respect to the position', () => {\n+      const formlayoutWrapper = mount(\n+                                      <FormLayout>\n+                                          <TextField label=\"Store name\" />\n+                                          <TextField label=\"Account email\"/>\n+                                      </FormLayout>,\n+                                );\n+      expect(formlayoutWrapper.find('input').length).toBe(2);\n+      expect(formlayoutWrapper.children().at(0).key()).toBe('0/.0');\n+      expect(formlayoutWrapper.children().at(1).key()).toBe('1/.1');\n+    });","path":"src/components/FormLayout/tests/FormLayout.test.tsx","position":20,"original_position":20,"commit_id":"1929a0e57f8657d55a0f49d9669325d22c81b16a","original_commit_id":"1929a0e57f8657d55a0f49d9669325d22c81b16a","user":{"login":"krunalm","id":1118874,"avatar_url":"https://avatars0.githubusercontent.com/u/1118874?v=4","gravatar_id":"","url":"https://api.github.com/users/krunalm","html_url":"https://github.com/krunalm","followers_url":"https://api.github.com/users/krunalm/followers","following_url":"https://api.github.com/users/krunalm/following{/other_user}","gists_url":"https://api.github.com/users/krunalm/gists{/gist_id}","starred_url":"https://api.github.com/users/krunalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krunalm/subscriptions","organizations_url":"https://api.github.com/users/krunalm/orgs","repos_url":"https://api.github.com/users/krunalm/repos","events_url":"https://api.github.com/users/krunalm/events{/privacy}","received_events_url":"https://api.github.com/users/krunalm/received_events","type":"User","site_admin":false},"body":"You can also test that it have 2 textfields inputs in this test case.","created_at":"2017-07-31T12:39:07Z","updated_at":"2017-07-31T12:42:15Z","html_url":"https://github.com/emgage/engage-ui/pull/44#discussion_r130341029","pull_request_url":"https://api.github.com/repos/emgage/engage-ui/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/emgage/engage-ui/pulls/comments/130341029"},"html":{"href":"https://github.com/emgage/engage-ui/pull/44#discussion_r130341029"},"pull_request":{"href":"https://api.github.com/repos/emgage/engage-ui/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/emgage/engage-ui/pulls/44","id":133092673,"html_url":"https://github.com/emgage/engage-ui/pull/44","diff_url":"https://github.com/emgage/engage-ui/pull/44.diff","patch_url":"https://github.com/emgage/engage-ui/pull/44.patch","issue_url":"https://api.github.com/repos/emgage/engage-ui/issues/44","number":44,"state":"open","locked":false,"title":"Features/30315 form layout unit test","user":{"login":"DevanshiGandhi","id":30464746,"avatar_url":"https://avatars2.githubusercontent.com/u/30464746?v=4","gravatar_id":"","url":"https://api.github.com/users/DevanshiGandhi","html_url":"https://github.com/DevanshiGandhi","followers_url":"https://api.github.com/users/DevanshiGandhi/followers","following_url":"https://api.github.com/users/DevanshiGandhi/following{/other_user}","gists_url":"https://api.github.com/users/DevanshiGandhi/gists{/gist_id}","starred_url":"https://api.github.com/users/DevanshiGandhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevanshiGandhi/subscriptions","organizations_url":"https://api.github.com/users/DevanshiGandhi/orgs","repos_url":"https://api.github.com/users/DevanshiGandhi/repos","events_url":"https://api.github.com/users/DevanshiGandhi/events{/privacy}","received_events_url":"https://api.github.com/users/DevanshiGandhi/received_events","type":"User","site_admin":false},"body":"Form layout component Unit Test is ready for code review.   ","created_at":"2017-07-29T13:24:54Z","updated_at":"2017-07-31T12:42:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f14b38d0ad65c06675fddc3fb08270a014f814d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/emgage/engage-ui/pulls/44/commits","review_comments_url":"https://api.github.com/repos/emgage/engage-ui/pulls/44/comments","review_comment_url":"https://api.github.com/repos/emgage/engage-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emgage/engage-ui/issues/44/comments","statuses_url":"https://api.github.com/repos/emgage/engage-ui/statuses/1929a0e57f8657d55a0f49d9669325d22c81b16a","head":{"label":"DevanshiGandhi:features/30315-FormLayout-UnitTest","ref":"features/30315-FormLayout-UnitTest","sha":"1929a0e57f8657d55a0f49d9669325d22c81b16a","user":{"login":"DevanshiGandhi","id":30464746,"avatar_url":"https://avatars2.githubusercontent.com/u/30464746?v=4","gravatar_id":"","url":"https://api.github.com/users/DevanshiGandhi","html_url":"https://github.com/DevanshiGandhi","followers_url":"https://api.github.com/users/DevanshiGandhi/followers","following_url":"https://api.github.com/users/DevanshiGandhi/following{/other_user}","gists_url":"https://api.github.com/users/DevanshiGandhi/gists{/gist_id}","starred_url":"https://api.github.com/users/DevanshiGandhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevanshiGandhi/subscriptions","organizations_url":"https://api.github.com/users/DevanshiGandhi/orgs","repos_url":"https://api.github.com/users/DevanshiGandhi/repos","events_url":"https://api.github.com/users/DevanshiGandhi/events{/privacy}","received_events_url":"https://api.github.com/users/DevanshiGandhi/received_events","type":"User","site_admin":false},"repo":{"id":98408150,"name":"engage-ui","full_name":"DevanshiGandhi/engage-ui","owner":{"login":"DevanshiGandhi","id":30464746,"avatar_url":"https://avatars2.githubusercontent.com/u/30464746?v=4","gravatar_id":"","url":"https://api.github.com/users/DevanshiGandhi","html_url":"https://github.com/DevanshiGandhi","followers_url":"https://api.github.com/users/DevanshiGandhi/followers","following_url":"https://api.github.com/users/DevanshiGandhi/following{/other_user}","gists_url":"https://api.github.com/users/DevanshiGandhi/gists{/gist_id}","starred_url":"https://api.github.com/users/DevanshiGandhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevanshiGandhi/subscriptions","organizations_url":"https://api.github.com/users/DevanshiGandhi/orgs","repos_url":"https://api.github.com/users/DevanshiGandhi/repos","events_url":"https://api.github.com/users/DevanshiGandhi/events{/privacy}","received_events_url":"https://api.github.com/users/DevanshiGandhi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DevanshiGandhi/engage-ui","description":"Engage UI is a React component library designed to help developers and designers creater the delightful web experiences.","fork":true,"url":"https://api.github.com/repos/DevanshiGandhi/engage-ui","forks_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/forks","keys_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/teams","hooks_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/hooks","issue_events_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/issues/events{/number}","events_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/events","assignees_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/assignees{/user}","branches_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/branches{/branch}","tags_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/tags","blobs_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/languages","stargazers_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/stargazers","contributors_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/contributors","subscribers_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/subscribers","subscription_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/subscription","commits_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/contents/{+path}","compare_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/merges","archive_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/downloads","issues_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/issues{/number}","pulls_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/labels{/name}","releases_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/releases{/id}","deployments_url":"https://api.github.com/repos/DevanshiGandhi/engage-ui/deployments","created_at":"2017-07-26T09:55:51Z","updated_at":"2017-07-26T09:55:53Z","pushed_at":"2017-07-29T13:23:49Z","git_url":"git://github.com/DevanshiGandhi/engage-ui.git","ssh_url":"git@github.com:DevanshiGandhi/engage-ui.git","clone_url":"https://github.com/DevanshiGandhi/engage-ui.git","svn_url":"https://github.com/DevanshiGandhi/engage-ui","homepage":"https://github.com/emgage/engage-ui","size":828,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"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":"emgage:master","ref":"master","sha":"3517e4249e2e10ad0c982c87d4be20aa9dc1c693","user":{"login":"emgage","id":28227625,"avatar_url":"https://avatars1.githubusercontent.com/u/28227625?v=4","gravatar_id":"","url":"https://api.github.com/users/emgage","html_url":"https://github.com/emgage","followers_url":"https://api.github.com/users/emgage/followers","following_url":"https://api.github.com/users/emgage/following{/other_user}","gists_url":"https://api.github.com/users/emgage/gists{/gist_id}","starred_url":"https://api.github.com/users/emgage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emgage/subscriptions","organizations_url":"https://api.github.com/users/emgage/orgs","repos_url":"https://api.github.com/users/emgage/repos","events_url":"https://api.github.com/users/emgage/events{/privacy}","received_events_url":"https://api.github.com/users/emgage/received_events","type":"User","site_admin":false},"repo":{"id":90079098,"name":"engage-ui","full_name":"emgage/engage-ui","owner":{"login":"emgage","id":28227625,"avatar_url":"https://avatars1.githubusercontent.com/u/28227625?v=4","gravatar_id":"","url":"https://api.github.com/users/emgage","html_url":"https://github.com/emgage","followers_url":"https://api.github.com/users/emgage/followers","following_url":"https://api.github.com/users/emgage/following{/other_user}","gists_url":"https://api.github.com/users/emgage/gists{/gist_id}","starred_url":"https://api.github.com/users/emgage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emgage/subscriptions","organizations_url":"https://api.github.com/users/emgage/orgs","repos_url":"https://api.github.com/users/emgage/repos","events_url":"https://api.github.com/users/emgage/events{/privacy}","received_events_url":"https://api.github.com/users/emgage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emgage/engage-ui","description":"Engage UI is a React component library designed to help developers and designers creater the delightful web experiences.","fork":false,"url":"https://api.github.com/repos/emgage/engage-ui","forks_url":"https://api.github.com/repos/emgage/engage-ui/forks","keys_url":"https://api.github.com/repos/emgage/engage-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emgage/engage-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emgage/engage-ui/teams","hooks_url":"https://api.github.com/repos/emgage/engage-ui/hooks","issue_events_url":"https://api.github.com/repos/emgage/engage-ui/issues/events{/number}","events_url":"https://api.github.com/repos/emgage/engage-ui/events","assignees_url":"https://api.github.com/repos/emgage/engage-ui/assignees{/user}","branches_url":"https://api.github.com/repos/emgage/engage-ui/branches{/branch}","tags_url":"https://api.github.com/repos/emgage/engage-ui/tags","blobs_url":"https://api.github.com/repos/emgage/engage-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emgage/engage-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emgage/engage-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/emgage/engage-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emgage/engage-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/emgage/engage-ui/languages","stargazers_url":"https://api.github.com/repos/emgage/engage-ui/stargazers","contributors_url":"https://api.github.com/repos/emgage/engage-ui/contributors","subscribers_url":"https://api.github.com/repos/emgage/engage-ui/subscribers","subscription_url":"https://api.github.com/repos/emgage/engage-ui/subscription","commits_url":"https://api.github.com/repos/emgage/engage-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/emgage/engage-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/emgage/engage-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/emgage/engage-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/emgage/engage-ui/contents/{+path}","compare_url":"https://api.github.com/repos/emgage/engage-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emgage/engage-ui/merges","archive_url":"https://api.github.com/repos/emgage/engage-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emgage/engage-ui/downloads","issues_url":"https://api.github.com/repos/emgage/engage-ui/issues{/number}","pulls_url":"https://api.github.com/repos/emgage/engage-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/emgage/engage-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/emgage/engage-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emgage/engage-ui/labels{/name}","releases_url":"https://api.github.com/repos/emgage/engage-ui/releases{/id}","deployments_url":"https://api.github.com/repos/emgage/engage-ui/deployments","created_at":"2017-05-02T21:21:05Z","updated_at":"2017-06-29T15:16:50Z","pushed_at":"2017-07-31T09:04:02Z","git_url":"git://github.com/emgage/engage-ui.git","ssh_url":"git@github.com:emgage/engage-ui.git","clone_url":"https://github.com/emgage/engage-ui.git","svn_url":"https://github.com/emgage/engage-ui","homepage":"https://github.com/emgage/engage-ui","size":1303,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":21,"forks":9,"open_issues":21,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emgage/engage-ui/pulls/44"},"html":{"href":"https://github.com/emgage/engage-ui/pull/44"},"issue":{"href":"https://api.github.com/repos/emgage/engage-ui/issues/44"},"comments":{"href":"https://api.github.com/repos/emgage/engage-ui/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/emgage/engage-ui/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/emgage/engage-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emgage/engage-ui/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/emgage/engage-ui/statuses/1929a0e57f8657d55a0f49d9669325d22c81b16a"}}}}
{"actor":{"display_login":"krunalm"}}