1// Jest Snapshot v1, https://goo.gl/fbAQLP
2
3exports[`Render should render component 1`] = `
4<div>
5  <div
6    className="page-action-bar"
7  >
8    <div
9      className="gf-form gf-form--grow"
10    >
11      <FilterInput
12        onChange={[Function]}
13        placeholder="Search members"
14        value=""
15      />
16    </div>
17    <Button
18      className="pull-right"
19      disabled={false}
20      onClick={[Function]}
21    >
22      Add member
23    </Button>
24  </div>
25  <SlideDown
26    in={false}
27  >
28    <div
29      className="cta-form"
30    >
31      <CloseButton
32        aria-label="Close 'Add team member' dialogue"
33        onClick={[Function]}
34      />
35      <Label
36        htmlFor="user-picker"
37      >
38        Add team member
39      </Label>
40      <div
41        className="gf-form-inline"
42      >
43        <UserPicker
44          className="min-width-30"
45          inputId="user-picker"
46          onSelected={[Function]}
47        />
48      </div>
49    </div>
50  </SlideDown>
51  <div
52    className="admin-list-table"
53  >
54    <table
55      className="filter-table filter-table--hover form-inline"
56    >
57      <thead>
58        <tr>
59          <th />
60          <th>
61            Login
62          </th>
63          <th>
64            Email
65          </th>
66          <th>
67            Name
68          </th>
69          <WithFeatureToggle
70            featureToggle={false}
71          >
72            <th>
73              Permission
74            </th>
75          </WithFeatureToggle>
76          <th
77            style={
78              Object {
79                "width": "1%",
80              }
81            }
82          />
83        </tr>
84      </thead>
85      <tbody />
86    </table>
87  </div>
88</div>
89`;
90
91exports[`Render should render team members 1`] = `
92<div>
93  <div
94    className="page-action-bar"
95  >
96    <div
97      className="gf-form gf-form--grow"
98    >
99      <FilterInput
100        onChange={[Function]}
101        placeholder="Search members"
102        value=""
103      />
104    </div>
105    <Button
106      className="pull-right"
107      disabled={false}
108      onClick={[Function]}
109    >
110      Add member
111    </Button>
112  </div>
113  <SlideDown
114    in={false}
115  >
116    <div
117      className="cta-form"
118    >
119      <CloseButton
120        aria-label="Close 'Add team member' dialogue"
121        onClick={[Function]}
122      />
123      <Label
124        htmlFor="user-picker"
125      >
126        Add team member
127      </Label>
128      <div
129        className="gf-form-inline"
130      >
131        <UserPicker
132          className="min-width-30"
133          inputId="user-picker"
134          onSelected={[Function]}
135        />
136      </div>
137    </div>
138  </SlideDown>
139  <div
140    className="admin-list-table"
141  >
142    <table
143      className="filter-table filter-table--hover form-inline"
144    >
145      <thead>
146        <tr>
147          <th />
148          <th>
149            Login
150          </th>
151          <th>
152            Email
153          </th>
154          <th>
155            Name
156          </th>
157          <WithFeatureToggle
158            featureToggle={false}
159          >
160            <th>
161              Permission
162            </th>
163          </WithFeatureToggle>
164          <th
165            style={
166              Object {
167                "width": "1%",
168              }
169            }
170          />
171        </tr>
172      </thead>
173      <tbody>
174        <Connect(TeamMemberRow)
175          editorsCanAdmin={false}
176          key="1"
177          member={
178            Object {
179              "avatarUrl": "some/url/",
180              "email": "test@test.com",
181              "labels": Array [
182                "label 1",
183                "label 2",
184              ],
185              "login": "testUser-1",
186              "name": "testName",
187              "permission": 0,
188              "teamId": 1,
189              "userId": 1,
190            }
191          }
192          signedInUserIsTeamAdmin={true}
193          syncEnabled={false}
194        />
195        <Connect(TeamMemberRow)
196          editorsCanAdmin={false}
197          key="2"
198          member={
199            Object {
200              "avatarUrl": "some/url/",
201              "email": "test@test.com",
202              "labels": Array [
203                "label 1",
204                "label 2",
205              ],
206              "login": "testUser-2",
207              "name": "testName",
208              "permission": 0,
209              "teamId": 1,
210              "userId": 2,
211            }
212          }
213          signedInUserIsTeamAdmin={true}
214          syncEnabled={false}
215        />
216        <Connect(TeamMemberRow)
217          editorsCanAdmin={false}
218          key="3"
219          member={
220            Object {
221              "avatarUrl": "some/url/",
222              "email": "test@test.com",
223              "labels": Array [
224                "label 1",
225                "label 2",
226              ],
227              "login": "testUser-3",
228              "name": "testName",
229              "permission": 0,
230              "teamId": 1,
231              "userId": 3,
232            }
233          }
234          signedInUserIsTeamAdmin={true}
235          syncEnabled={false}
236        />
237        <Connect(TeamMemberRow)
238          editorsCanAdmin={false}
239          key="4"
240          member={
241            Object {
242              "avatarUrl": "some/url/",
243              "email": "test@test.com",
244              "labels": Array [
245                "label 1",
246                "label 2",
247              ],
248              "login": "testUser-4",
249              "name": "testName",
250              "permission": 0,
251              "teamId": 1,
252              "userId": 4,
253            }
254          }
255          signedInUserIsTeamAdmin={true}
256          syncEnabled={false}
257        />
258        <Connect(TeamMemberRow)
259          editorsCanAdmin={false}
260          key="5"
261          member={
262            Object {
263              "avatarUrl": "some/url/",
264              "email": "test@test.com",
265              "labels": Array [
266                "label 1",
267                "label 2",
268              ],
269              "login": "testUser-5",
270              "name": "testName",
271              "permission": 4,
272              "teamId": 1,
273              "userId": 5,
274            }
275          }
276          signedInUserIsTeamAdmin={true}
277          syncEnabled={false}
278        />
279      </tbody>
280    </table>
281  </div>
282</div>
283`;
284