1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly when the list of hotspot is static 1`] = `
5 className="filter-bar-outer"
11 className="filter-bar-inner display-flex-center"
19 hotspot.filters.show_all
26 exports[`should render correctly: anonymous 1`] = `
28 className="filter-bar-outer"
31 className="filter-bar"
34 className="filter-bar-inner display-flex-center"
37 className="display-flex-space-between width-100"
40 className="display-flex-center"
43 className="huge-spacer-right"
48 className="spacer-right"
55 aria-label="hotspot.filters.status"
56 className="input-medium big-spacer-right"
62 "label": "hotspot.filters.status.to_review",
66 "label": "hotspot.filters.status.acknowledged",
67 "value": "ACKNOWLEDGED",
70 "label": "hotspot.filters.status.fixed",
74 "label": "hotspot.filters.status.safe",
81 "label": "hotspot.filters.status.to_review",
87 aria-label="hotspot.filters.period"
88 className="input-medium big-spacer-right"
94 "label": "hotspot.filters.period.since_leak_period",
98 "label": "hotspot.filters.period.overall",
105 "label": "hotspot.filters.period.overall",
112 className="display-flex-center"
115 className="little-spacer-right"
117 metric.security_hotspots_reviewed.name
120 className="big-spacer-right"
121 overlay="hotspots.reviewed.tooltip"
127 className="spacer-left huge it__hs-review-percentage"
128 metricKey="security_hotspots_reviewed"
139 exports[`should render correctly: logged-in 1`] = `
141 className="filter-bar-outer"
144 className="filter-bar"
147 className="filter-bar-inner display-flex-center"
150 className="display-flex-space-between width-100"
153 className="display-flex-center"
156 className="huge-spacer-right"
158 hotspot.filters.title
161 className="huge-spacer-right"
168 "label": "hotspot.filters.assignee.assigned_to_me",
172 "label": "hotspot.filters.assignee.all",
181 className="spacer-right"
188 aria-label="hotspot.filters.status"
189 className="input-medium big-spacer-right"
191 onChange={[Function]}
195 "label": "hotspot.filters.status.to_review",
196 "value": "TO_REVIEW",
199 "label": "hotspot.filters.status.acknowledged",
200 "value": "ACKNOWLEDGED",
203 "label": "hotspot.filters.status.fixed",
207 "label": "hotspot.filters.status.safe",
214 "label": "hotspot.filters.status.to_review",
215 "value": "TO_REVIEW",
220 aria-label="hotspot.filters.period"
221 className="input-medium big-spacer-right"
223 onChange={[Function]}
227 "label": "hotspot.filters.period.since_leak_period",
231 "label": "hotspot.filters.period.overall",
238 "label": "hotspot.filters.period.overall",
245 className="display-flex-center"
248 className="little-spacer-right"
250 metric.security_hotspots_reviewed.name
253 className="big-spacer-right"
254 overlay="hotspots.reviewed.tooltip"
260 className="spacer-left huge it__hs-review-percentage"
261 metricKey="security_hotspots_reviewed"
272 exports[`should render correctly: non-project 1`] = `
274 className="filter-bar-outer"
277 className="filter-bar"
280 className="filter-bar-inner display-flex-center"
283 className="display-flex-space-between width-100"
286 className="display-flex-center"
289 className="huge-spacer-right"
291 hotspot.filters.title
294 className="huge-spacer-right"
301 "label": "hotspot.filters.assignee.assigned_to_me",
305 "label": "hotspot.filters.assignee.all",
314 className="spacer-right"
321 aria-label="hotspot.filters.status"
322 className="input-medium big-spacer-right"
324 onChange={[Function]}
328 "label": "hotspot.filters.status.to_review",
329 "value": "TO_REVIEW",
332 "label": "hotspot.filters.status.acknowledged",
333 "value": "ACKNOWLEDGED",
336 "label": "hotspot.filters.status.fixed",
340 "label": "hotspot.filters.status.safe",
347 "label": "hotspot.filters.status.to_review",
348 "value": "TO_REVIEW",
353 aria-label="hotspot.filters.period"
354 className="input-medium big-spacer-right"
356 onChange={[Function]}
360 "label": "hotspot.filters.period.since_leak_period",
364 "label": "hotspot.filters.period.overall",
371 "label": "hotspot.filters.period.overall",
383 exports[`should render correctly: on Pull request 1`] = `
385 className="filter-bar-outer"
388 className="filter-bar"
391 className="filter-bar-inner display-flex-center"
394 className="display-flex-space-between width-100"
397 className="display-flex-center"
400 className="huge-spacer-right"
402 hotspot.filters.title
405 className="spacer-right"
412 aria-label="hotspot.filters.status"
413 className="input-medium big-spacer-right"
415 onChange={[Function]}
419 "label": "hotspot.filters.status.to_review",
420 "value": "TO_REVIEW",
423 "label": "hotspot.filters.status.acknowledged",
424 "value": "ACKNOWLEDGED",
427 "label": "hotspot.filters.status.fixed",
431 "label": "hotspot.filters.status.safe",
438 "label": "hotspot.filters.status.to_review",
439 "value": "TO_REVIEW",
445 className="display-flex-center"
448 className="little-spacer-right"
450 metric.security_hotspots_reviewed.name
453 className="big-spacer-right"
454 overlay="hotspots.reviewed.tooltip"
460 className="spacer-left huge it__hs-review-percentage"
461 metricKey="new_security_hotspots_reviewed"
472 exports[`should render correctly: with hotspots reviewed measure 1`] = `
474 className="filter-bar-outer"
477 className="filter-bar"
480 className="filter-bar-inner display-flex-center"
483 className="display-flex-space-between width-100"
486 className="display-flex-center"
489 className="huge-spacer-right"
491 hotspot.filters.title
494 className="spacer-right"
501 aria-label="hotspot.filters.status"
502 className="input-medium big-spacer-right"
504 onChange={[Function]}
508 "label": "hotspot.filters.status.to_review",
509 "value": "TO_REVIEW",
512 "label": "hotspot.filters.status.acknowledged",
513 "value": "ACKNOWLEDGED",
516 "label": "hotspot.filters.status.fixed",
520 "label": "hotspot.filters.status.safe",
527 "label": "hotspot.filters.status.to_review",
528 "value": "TO_REVIEW",
533 aria-label="hotspot.filters.period"
534 className="input-medium big-spacer-right"
536 onChange={[Function]}
540 "label": "hotspot.filters.period.since_leak_period",
544 "label": "hotspot.filters.period.overall",
551 "label": "hotspot.filters.period.overall",
558 className="display-flex-center"
561 className="little-spacer-right"
563 metric.security_hotspots_reviewed.name
566 className="big-spacer-right"
567 overlay="hotspots.reviewed.tooltip"
576 className="spacer-left huge it__hs-review-percentage"
577 metricKey="security_hotspots_reviewed"