]> source.dussan.org Git - sonarqube.git/blob
120b9dff93b98c6404b4cb293bed84976af979f1
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display error message when no issues available 1`] = `
4 <Modal
5   contentLabel="modal"
6   onRequestClose={[Function]}
7 >
8   <form
9     id="bulk-change-form"
10     onSubmit={[Function]}
11   >
12     <div
13       className="modal-head"
14     >
15       <h2>
16         issue_bulk_change.form.title.0
17       </h2>
18     </div>
19     <div
20       className="modal-body"
21     >
22       <Alert
23         variant="warning"
24       >
25         issue_bulk_change.no_match
26       </Alert>
27     </div>
28     <div
29       className="modal-foot"
30     >
31       <SubmitButton
32         disabled={true}
33         id="bulk-change-submit"
34       >
35         apply
36       </SubmitButton>
37       <a
38         href="#"
39         id="bulk-change-cancel"
40         onClick={[Function]}
41       >
42         cancel
43       </a>
44     </div>
45   </form>
46 </Modal>
47 `;
48
49 exports[`should display form when issues are present 1`] = `
50 <Modal
51   contentLabel="modal"
52   onRequestClose={[Function]}
53 >
54   <form
55     id="bulk-change-form"
56     onSubmit={[Function]}
57   >
58     <div
59       className="modal-head"
60     >
61       <h2>
62         issue_bulk_change.form.title.1
63       </h2>
64     </div>
65     <div
66       className="modal-body"
67     >
68       <div
69         className="modal-field"
70       >
71         <label
72           htmlFor="send-notifications"
73         >
74           issue.send_notifications
75         </label>
76         <Checkbox
77           checked={false}
78           onCheck={[Function]}
79           thirdState={false}
80         />
81       </div>
82     </div>
83     <div
84       className="modal-foot"
85     >
86       <SubmitButton
87         disabled={false}
88         id="bulk-change-submit"
89       >
90         apply
91       </SubmitButton>
92       <a
93         href="#"
94         id="bulk-change-cancel"
95         onClick={[Function]}
96       >
97         cancel
98       </a>
99     </div>
100   </form>
101 </Modal>
102 `;