1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for applications 1`] = `
5 className="overview-panel"
6 data-test="overview__quality-gate-panel"
9 className="display-flex-center spacer-bottom"
12 className="overview-panel-title null-spacer-bottom"
18 className="little-spacer-left"
21 className="big-padded-top big-padded-bottom"
23 overview.quality_gate.help
30 className="overview-quality-gate-badge-large failed"
33 className="big-spacer-bottom huge h3"
40 overview.X_conditions_failed.3
44 data-test="overview__quality-gate-conditions"
46 <Memo(QualityGatePanelSection)
72 "caycStatus": "compliant",
98 "ignoredConditions": false,
105 <Memo(QualityGatePanelSection)
131 "caycStatus": "compliant",
132 "failedConditions": [
164 "id": "new_code_smells",
165 "key": "new_code_smells",
166 "name": "new_code_smells",
176 "metric": "new_code_smells",
180 "ignoredConditions": false,
189 <withCurrentUserContext(SonarLintPromotion)
246 "id": "new_code_smells",
247 "key": "new_code_smells",
248 "name": "new_code_smells",
258 "metric": "new_code_smells",
267 exports[`should render correctly for applications 2`] = `
269 className="overview-panel"
270 data-test="overview__quality-gate-panel"
273 className="display-flex-center spacer-bottom"
276 className="overview-panel-title null-spacer-bottom"
278 overview.quality_gate
282 className="little-spacer-left"
285 className="big-padded-top big-padded-bottom"
287 overview.quality_gate.help
294 className="overview-quality-gate-badge-large failed"
297 className="big-spacer-bottom huge h3"
304 overview.X_conditions_failed.1
308 data-test="overview__quality-gate-conditions"
310 <Memo(QualityGatePanelSection)
336 "caycStatus": "compliant",
337 "failedConditions": [
362 "ignoredConditions": false,
369 <Memo(QualityGatePanelSection)
395 "caycStatus": "compliant",
396 "failedConditions": [],
397 "ignoredConditions": false,
406 <withCurrentUserContext(SonarLintPromotion)
438 exports[`should render correctly for projects 1`] = `
440 className="overview-panel"
441 data-test="overview__quality-gate-panel"
444 className="display-flex-center spacer-bottom"
447 className="overview-panel-title null-spacer-bottom"
449 overview.quality_gate
453 className="little-spacer-left"
456 className="big-padded-top big-padded-bottom"
458 overview.quality_gate.help
465 className="overview-quality-gate-badge-large failed"
468 className="big-spacer-bottom huge h3"
475 overview.X_conditions_failed.1
479 data-test="overview__quality-gate-conditions"
481 <Memo(QualityGatePanelSection)
507 "caycStatus": "compliant",
508 "failedConditions": [
533 "ignoredConditions": false,
542 <withCurrentUserContext(SonarLintPromotion)
574 exports[`should render correctly for projects 2`] = `
576 className="overview-panel"
577 data-test="overview__quality-gate-panel"
580 className="display-flex-center spacer-bottom"
583 className="overview-panel-title null-spacer-bottom"
585 overview.quality_gate
589 className="little-spacer-left"
592 className="big-padded-top big-padded-bottom"
594 overview.quality_gate.help
601 className="overview-quality-gate-badge-large success"
604 className="big-spacer-bottom huge h3"
611 overview.quality_gate_all_conditions_passed
615 <withCurrentUserContext(SonarLintPromotion)
621 exports[`should render correctly for projects 3`] = `
623 className="overview-panel"
624 data-test="overview__quality-gate-panel"
627 className="display-flex-center spacer-bottom"
630 className="overview-panel-title null-spacer-bottom"
632 overview.quality_gate
636 className="little-spacer-left"
639 className="big-padded-top big-padded-bottom"
641 overview.quality_gate.help
647 className="big-spacer-bottom"
652 className="text-middle"
654 overview.quality_gate.ignored_conditions
657 className="spacer-left"
658 overlay="overview.quality_gate.ignored_conditions.tooltip"
663 className="overview-quality-gate-badge-large failed"
666 className="big-spacer-bottom huge h3"
673 overview.X_conditions_failed.1
677 data-test="overview__quality-gate-conditions"
679 <Memo(QualityGatePanelSection)
705 "caycStatus": "compliant",
706 "failedConditions": [
731 "ignoredConditions": true,
740 <withCurrentUserContext(SonarLintPromotion)