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"
53 className="input-medium big-spacer-right"
59 "label": "hotspot.filters.status.to_review",
63 "label": "hotspot.filters.status.fixed",
67 "label": "hotspot.filters.status.safe",
76 className="input-medium big-spacer-right"
82 "label": "hotspot.filters.period.since_leak_period",
86 "label": "hotspot.filters.period.overall",
96 className="display-flex-center"
99 className="little-spacer-right"
101 metric.security_hotspots_reviewed.name
104 className="big-spacer-right"
105 overlay="hotspots.reviewed.tooltip"
111 className="spacer-left huge"
112 metricKey="security_hotspots_reviewed"
123 exports[`should render correctly: logged-in 1`] = `
125 className="filter-bar-outer"
128 className="filter-bar"
131 className="filter-bar-inner display-flex-center"
134 className="display-flex-space-between width-100"
137 className="display-flex-center"
140 className="huge-spacer-right"
142 hotspot.filters.title
145 className="huge-spacer-right"
147 name="assignee-filter"
152 "label": "hotspot.filters.assignee.assigned_to_me",
156 "label": "hotspot.filters.assignee.all",
164 className="spacer-right"
169 className="input-medium big-spacer-right"
171 onChange={[Function]}
175 "label": "hotspot.filters.status.to_review",
176 "value": "TO_REVIEW",
179 "label": "hotspot.filters.status.fixed",
183 "label": "hotspot.filters.status.safe",
192 className="input-medium big-spacer-right"
194 onChange={[Function]}
198 "label": "hotspot.filters.period.since_leak_period",
202 "label": "hotspot.filters.period.overall",
212 className="display-flex-center"
215 className="little-spacer-right"
217 metric.security_hotspots_reviewed.name
220 className="big-spacer-right"
221 overlay="hotspots.reviewed.tooltip"
227 className="spacer-left huge"
228 metricKey="security_hotspots_reviewed"
239 exports[`should render correctly: non-project 1`] = `
241 className="filter-bar-outer"
244 className="filter-bar"
247 className="filter-bar-inner display-flex-center"
250 className="display-flex-space-between width-100"
253 className="display-flex-center"
256 className="huge-spacer-right"
258 hotspot.filters.title
261 className="huge-spacer-right"
263 name="assignee-filter"
268 "label": "hotspot.filters.assignee.assigned_to_me",
272 "label": "hotspot.filters.assignee.all",
280 className="spacer-right"
285 className="input-medium big-spacer-right"
287 onChange={[Function]}
291 "label": "hotspot.filters.status.to_review",
292 "value": "TO_REVIEW",
295 "label": "hotspot.filters.status.fixed",
299 "label": "hotspot.filters.status.safe",
308 className="input-medium big-spacer-right"
310 onChange={[Function]}
314 "label": "hotspot.filters.period.since_leak_period",
318 "label": "hotspot.filters.period.overall",
333 exports[`should render correctly: on Pull request 1`] = `
335 className="filter-bar-outer"
338 className="filter-bar"
341 className="filter-bar-inner display-flex-center"
344 className="display-flex-space-between width-100"
347 className="display-flex-center"
350 className="huge-spacer-right"
352 hotspot.filters.title
355 className="spacer-right"
360 className="input-medium big-spacer-right"
362 onChange={[Function]}
366 "label": "hotspot.filters.status.to_review",
367 "value": "TO_REVIEW",
370 "label": "hotspot.filters.status.fixed",
374 "label": "hotspot.filters.status.safe",
384 className="display-flex-center"
387 className="little-spacer-right"
389 metric.security_hotspots_reviewed.name
392 className="big-spacer-right"
393 overlay="hotspots.reviewed.tooltip"
399 className="spacer-left huge"
400 metricKey="new_security_hotspots_reviewed"
411 exports[`should render correctly: with hotspots reviewed measure 1`] = `
413 className="filter-bar-outer"
416 className="filter-bar"
419 className="filter-bar-inner display-flex-center"
422 className="display-flex-space-between width-100"
425 className="display-flex-center"
428 className="huge-spacer-right"
430 hotspot.filters.title
433 className="spacer-right"
438 className="input-medium big-spacer-right"
440 onChange={[Function]}
444 "label": "hotspot.filters.status.to_review",
445 "value": "TO_REVIEW",
448 "label": "hotspot.filters.status.fixed",
452 "label": "hotspot.filters.status.safe",
461 className="input-medium big-spacer-right"
463 onChange={[Function]}
467 "label": "hotspot.filters.period.since_leak_period",
471 "label": "hotspot.filters.period.overall",
481 className="display-flex-center"
484 className="little-spacer-right"
486 metric.security_hotspots_reviewed.name
489 className="big-spacer-right"
490 overlay="hotspots.reviewed.tooltip"
499 className="spacer-left huge"
500 metricKey="security_hotspots_reviewed"