1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: Admin 1`] = `
5 className="layout-page-main-inner"
7 <Connect(withAppState(withMetricsContext(Conditions)))
10 onAddCondition={[MockFunction]}
11 onRemoveCondition={[MockFunction]}
12 onSaveCondition={[MockFunction]}
19 "name": "qualitygate",
24 className="display-flex-row huge-spacer-top"
27 className="quality-gate-section width-50 big-padded-right"
28 id="quality-gate-projects"
31 className="display-flex-center spacer-bottom"
34 quality_gates.projects
37 className="spacer-left"
40 className="big-padded-top big-padded-bottom"
42 quality_gates.projects.help
55 "name": "qualitygate",
61 className="width-50 big-padded-left"
63 <QualityGatePermissions
70 "name": "qualitygate",
79 exports[`should render correctly: is default 1`] = `
81 className="layout-page-main-inner"
83 <Connect(withAppState(withMetricsContext(Conditions)))
95 onAddCondition={[MockFunction]}
96 onRemoveCondition={[MockFunction]}
97 onSaveCondition={[MockFunction]}
100 "conditions": Array [
104 "metric": "coverage",
109 "name": "qualitygate",
114 className="display-flex-row huge-spacer-top"
117 className="quality-gate-section width-50 big-padded-right"
118 id="quality-gate-projects"
121 className="display-flex-center spacer-bottom"
124 quality_gates.projects
127 className="spacer-left"
130 className="big-padded-top big-padded-bottom"
132 quality_gates.projects.help
137 quality_gates.projects_for_default
143 exports[`should render correctly: is default, no conditions 1`] = `
145 className="layout-page-main-inner"
148 className="big-spacer-bottom"
151 quality_gates.is_default_no_conditions
153 <Connect(withAppState(withMetricsContext(Conditions)))
155 conditions={Array []}
156 onAddCondition={[MockFunction]}
157 onRemoveCondition={[MockFunction]}
158 onSaveCondition={[MockFunction]}
161 "conditions": Array [],
163 "name": "qualitygate",
168 className="display-flex-row huge-spacer-top"
171 className="quality-gate-section width-50 big-padded-right"
172 id="quality-gate-projects"
175 className="display-flex-center spacer-bottom"
178 quality_gates.projects
181 className="spacer-left"
184 className="big-padded-top big-padded-bottom"
186 quality_gates.projects.help
191 quality_gates.projects_for_default
197 exports[`should render correctly: is not default 1`] = `
199 className="layout-page-main-inner"
201 <Connect(withAppState(withMetricsContext(Conditions)))
208 "metric": "coverage",
213 onAddCondition={[MockFunction]}
214 onRemoveCondition={[MockFunction]}
215 onSaveCondition={[MockFunction]}
218 "conditions": Array [
222 "metric": "coverage",
227 "name": "qualitygate",
232 className="display-flex-row huge-spacer-top"
235 className="quality-gate-section width-50 big-padded-right"
236 id="quality-gate-projects"
239 className="display-flex-center spacer-bottom"
242 quality_gates.projects
245 className="spacer-left"
248 className="big-padded-top big-padded-bottom"
250 quality_gates.projects.help
259 "conditions": Array [
263 "metric": "coverage",
268 "name": "qualitygate",