1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: changed value 1`] = `
5 className="settings-definition settings-definition-changed"
9 className="settings-definition-left"
12 className="settings-definition-name"
13 title="property.foo.name"
18 className="markdown small spacer-top"
19 dangerouslySetInnerHTML={
21 "__html": "property.foo.description",
26 overlay="settings.key_x.foo"
29 className="settings-definition-key note little-spacer-top"
36 className="settings-definition-right"
39 className="settings-definition-state"
45 hasValueChanged={true}
47 onCancel={[MockFunction]}
48 onChange={[MockFunction]}
49 onEditing={[MockFunction]}
50 onSave={[MockFunction]}
54 "category": "foo category",
58 "subCategory": "foo subCat",
67 changedValue="new value"
69 hasValueChanged={true}
72 onCancel={[MockFunction]}
73 onReset={[MockFunction]}
74 onSave={[MockFunction]}
78 "category": "foo category",
82 "subCategory": "foo subCat",
94 exports[`should render correctly: in error 1`] = `
96 className="settings-definition"
100 className="settings-definition-left"
103 className="settings-definition-name"
104 title="property.foo.name"
109 className="markdown small spacer-top"
110 dangerouslySetInnerHTML={
112 "__html": "property.foo.description",
117 overlay="settings.key_x.foo"
120 className="settings-definition-key note little-spacer-top"
127 className="settings-definition-right"
130 className="settings-definition-state"
133 className="text-danger"
136 className="spacer-right"
139 settings.state.validation_failed.validation message
144 onSubmit={[Function]}
147 hasValueChanged={false}
149 onCancel={[MockFunction]}
150 onChange={[MockFunction]}
151 onEditing={[MockFunction]}
152 onSave={[MockFunction]}
156 "category": "foo category",
160 "subCategory": "foo subCat",
169 hasValueChanged={false}
172 onCancel={[MockFunction]}
173 onReset={[MockFunction]}
174 onSave={[MockFunction]}
178 "category": "foo category",
182 "subCategory": "foo subCat",
194 exports[`should render correctly: loading 1`] = `
196 className="settings-definition"
200 className="settings-definition-left"
203 className="settings-definition-name"
204 title="property.foo.name"
209 className="markdown small spacer-top"
210 dangerouslySetInnerHTML={
212 "__html": "property.foo.description",
217 overlay="settings.key_x.foo"
220 className="settings-definition-key note little-spacer-top"
227 className="settings-definition-right"
230 className="settings-definition-state"
233 className="text-info"
236 className="spinner spacer-right"
238 settings.state.saving
242 onSubmit={[Function]}
245 hasValueChanged={false}
247 onCancel={[MockFunction]}
248 onChange={[MockFunction]}
249 onEditing={[MockFunction]}
250 onSave={[MockFunction]}
254 "category": "foo category",
258 "subCategory": "foo subCat",
267 hasValueChanged={false}
270 onCancel={[MockFunction]}
271 onReset={[MockFunction]}
272 onSave={[MockFunction]}
276 "category": "foo category",
280 "subCategory": "foo subCat",
292 exports[`should render correctly: original value 1`] = `
294 className="settings-definition"
298 className="settings-definition-left"
301 className="settings-definition-name"
302 title="property.foo.name"
307 className="markdown small spacer-top"
308 dangerouslySetInnerHTML={
310 "__html": "property.foo.description",
315 overlay="settings.key_x.foo"
318 className="settings-definition-key note little-spacer-top"
325 className="settings-definition-right"
328 className="settings-definition-state"
331 onSubmit={[Function]}
334 hasValueChanged={false}
336 onCancel={[MockFunction]}
337 onChange={[MockFunction]}
338 onEditing={[MockFunction]}
339 onSave={[MockFunction]}
343 "category": "foo category",
347 "subCategory": "foo subCat",
351 "value": "original value",
354 value="original value"
358 hasValueChanged={false}
361 onCancel={[MockFunction]}
362 onReset={[MockFunction]}
363 onSave={[MockFunction]}
367 "category": "foo category",
371 "subCategory": "foo subCat",
375 "value": "original value",
384 exports[`should render correctly: success 1`] = `
386 className="settings-definition"
390 className="settings-definition-left"
393 className="settings-definition-name"
394 title="property.foo.name"
399 className="markdown small spacer-top"
400 dangerouslySetInnerHTML={
402 "__html": "property.foo.description",
407 overlay="settings.key_x.foo"
410 className="settings-definition-key note little-spacer-top"
417 className="settings-definition-right"
420 className="settings-definition-state"
423 className="text-success"
426 className="spacer-right"
432 onSubmit={[Function]}
435 hasValueChanged={false}
437 onCancel={[MockFunction]}
438 onChange={[MockFunction]}
439 onEditing={[MockFunction]}
440 onSave={[MockFunction]}
444 "category": "foo category",
448 "subCategory": "foo subCat",
457 hasValueChanged={false}
460 onCancel={[MockFunction]}
461 onReset={[MockFunction]}
462 onSave={[MockFunction]}
466 "category": "foo category",
470 "subCategory": "foo subCat",
482 exports[`should render correctly: with description 1`] = `
484 className="settings-definition"
488 className="settings-definition-left"
491 className="settings-definition-name"
492 title="property.foo.name"
497 className="markdown small spacer-top"
498 dangerouslySetInnerHTML={
500 "__html": "property.foo.description",
505 overlay="settings.key_x.foo"
508 className="settings-definition-key note little-spacer-top"
515 className="settings-definition-right"
518 className="settings-definition-state"
521 onSubmit={[Function]}
524 hasValueChanged={false}
526 onCancel={[MockFunction]}
527 onChange={[MockFunction]}
528 onEditing={[MockFunction]}
529 onSave={[MockFunction]}
533 "category": "foo category",
534 "description": "description",
538 "subCategory": "foo subCat",
547 hasValueChanged={false}
550 onCancel={[MockFunction]}
551 onReset={[MockFunction]}
552 onSave={[MockFunction]}
556 "category": "foo category",
557 "description": "description",
561 "subCategory": "foo subCat",