1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: Admin 1`] = `
5 className="layout-page-main-inner"
7 <Connect(withAppState(Conditions))
20 onAddCondition={[MockFunction]}
21 onRemoveCondition={[MockFunction]}
22 onSaveCondition={[MockFunction]}
34 "name": "qualitygate",
39 className="display-flex-row huge-spacer-top"
42 className="quality-gate-section width-50 big-padded-right"
43 id="quality-gate-projects"
46 className="display-flex-center spacer-bottom"
49 quality_gates.projects
52 className="spacer-left"
55 className="big-padded-top big-padded-bottom"
57 quality_gates.projects.help
75 "name": "qualitygate",
81 className="width-50 big-padded-left"
83 <QualityGatePermissions
95 "name": "qualitygate",
104 exports[`should render correctly: is default 1`] = `
106 className="layout-page-main-inner"
108 <Connect(withAppState(Conditions))
115 "metric": "coverage",
121 onAddCondition={[MockFunction]}
122 onRemoveCondition={[MockFunction]}
123 onSaveCondition={[MockFunction]}
126 "conditions": Array [
130 "metric": "coverage",
135 "name": "qualitygate",
140 className="display-flex-row huge-spacer-top"
143 className="quality-gate-section width-50 big-padded-right"
144 id="quality-gate-projects"
147 className="display-flex-center spacer-bottom"
150 quality_gates.projects
153 className="spacer-left"
156 className="big-padded-top big-padded-bottom"
158 quality_gates.projects.help
163 quality_gates.projects_for_default
169 exports[`should render correctly: is default, no conditions 1`] = `
171 className="layout-page-main-inner"
174 className="big-spacer-bottom"
177 quality_gates.is_default_no_conditions
179 <Connect(withAppState(Conditions))
181 conditions={Array []}
183 onAddCondition={[MockFunction]}
184 onRemoveCondition={[MockFunction]}
185 onSaveCondition={[MockFunction]}
188 "conditions": Array [],
190 "name": "qualitygate",
195 className="display-flex-row huge-spacer-top"
198 className="quality-gate-section width-50 big-padded-right"
199 id="quality-gate-projects"
202 className="display-flex-center spacer-bottom"
205 quality_gates.projects
208 className="spacer-left"
211 className="big-padded-top big-padded-bottom"
213 quality_gates.projects.help
218 quality_gates.projects_for_default
224 exports[`should render correctly: is not default 1`] = `
226 className="layout-page-main-inner"
228 <Connect(withAppState(Conditions))
235 "metric": "coverage",
241 onAddCondition={[MockFunction]}
242 onRemoveCondition={[MockFunction]}
243 onSaveCondition={[MockFunction]}
246 "conditions": Array [
250 "metric": "coverage",
255 "name": "qualitygate",
260 className="display-flex-row huge-spacer-top"
263 className="quality-gate-section width-50 big-padded-right"
264 id="quality-gate-projects"
267 className="display-flex-center spacer-bottom"
270 quality_gates.projects
273 className="spacer-left"
276 className="big-padded-top big-padded-bottom"
278 quality_gates.projects.help
287 "conditions": Array [
291 "metric": "coverage",
296 "name": "qualitygate",