1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should correctly handle the submit event and close the modal 1`] = `
10 "name": "Admin Istrator",
22 exports[`should correctly handle the submit event and close the modal 2`] = `
26 "userGroups": Object {
28 "description": "Technical accounts",
30 "name": "pull-request-analysers",
41 exports[`should correctly handle user interactions 1`] = `
45 "userGroups": Object {
47 "description": "Technical accounts",
49 "name": "pull-request-analysers",
56 exports[`should correctly select the groups 1`] = `
59 "description": "Technical accounts",
61 "name": "pull-request-analysers",
71 exports[`should render and open the modal 1`] = `
76 organization.members.manage_groups
80 exports[`should render and open the modal 2`] = `
85 organization.members.manage_groups
90 contentLabel="modal form"
92 onRequestClose={[Function]}
93 overlayClassName="modal-overlay"
94 parentSelector={[Function]}
95 portalClassName="ReactModalPortal"
96 shouldCloseOnOverlayClick={true}
99 className="modal-head"
102 organization.members.manage_groups
106 onSubmit={[Function]}
109 className="modal-body"
112 organization.members.members_groups.Admin Istrator
116 className="list-spaced"
118 <OrganizationGroupCheckbox
125 "name": "professionals",
130 <OrganizationGroupCheckbox
134 "description": "Technical accounts",
137 "name": "pull-request-analysers",
142 <OrganizationGroupCheckbox
146 "description": "System administrators",
149 "name": "sonar-administrators",
157 className="modal-foot"
166 className="button-link"
179 exports[`should reset the selected groups when the modal is opened 1`] = `
183 "userGroups": Object {
185 "description": "Technical accounts",
187 "name": "pull-request-analysers",
198 exports[`should reset the selected groups when the modal is opened 2`] = `
202 "userGroups": Object {
204 "description": "Technical accounts",
206 "name": "pull-request-analysers",