]> source.dussan.org Git - sonarqube.git/blob
43b66bfaea3f7183b1f7d1a177b6c38994492cbe
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should show a info message for paying organization 1`] = `
4 <Fragment>
5   <HelmetWrapper
6     defer={true}
7     encodeSpecialCharacters={true}
8     title="organization.delete"
9   />
10   <div
11     className="page page-limited"
12   >
13     <header
14       className="page-header"
15     >
16       <h1
17         className="page-title"
18       >
19         organization.delete
20       </h1>
21       <div
22         className="page-description"
23       >
24         <InstanceMessage
25           message="organization.delete.description"
26         />
27       </div>
28     </header>
29     <ConfirmButton
30       confirmButtonText="delete"
31       confirmDisable={true}
32       isDestructive={true}
33       modalBody={
34         <div>
35           <Alert
36             variant="warning"
37           >
38             organization.delete.sonarcloud.paid_plan_info
39           </Alert>
40           <p>
41             organization.delete.question
42           </p>
43           <div
44             className="spacer-top"
45           >
46             <label
47               htmlFor="downgrade-organization-name"
48             >
49               billing.downgrade.modal.type_to_proceed
50             </label>
51             <div
52               className="little-spacer-top"
53             >
54               <input
55                 autoFocus={true}
56                 className="input-super-large"
57                 id="downgrade-organization-name"
58                 onChange={[Function]}
59                 type="text"
60                 value=""
61               />
62             </div>
63           </div>
64         </div>
65       }
66       modalHeader="organization.delete_x.Foo"
67       onConfirm={[Function]}
68     >
69       <Component />
70     </ConfirmButton>
71   </div>
72 </Fragment>
73 `;
74
75 exports[`smoke test 1`] = `
76 <Fragment>
77   <HelmetWrapper
78     defer={true}
79     encodeSpecialCharacters={true}
80     title="organization.delete"
81   />
82   <div
83     className="page page-limited"
84   >
85     <header
86       className="page-header"
87     >
88       <h1
89         className="page-title"
90       >
91         organization.delete
92       </h1>
93       <div
94         className="page-description"
95       >
96         <InstanceMessage
97           message="organization.delete.description"
98         />
99       </div>
100     </header>
101     <ConfirmButton
102       confirmButtonText="delete"
103       confirmDisable={true}
104       isDestructive={true}
105       modalBody={
106         <div>
107           <p>
108             organization.delete.question
109           </p>
110           <div
111             className="spacer-top"
112           >
113             <label
114               htmlFor="downgrade-organization-name"
115             >
116               billing.downgrade.modal.type_to_proceed
117             </label>
118             <div
119               className="little-spacer-top"
120             >
121               <input
122                 autoFocus={true}
123                 className="input-super-large"
124                 id="downgrade-organization-name"
125                 onChange={[Function]}
126                 type="text"
127                 value=""
128               />
129             </div>
130           </div>
131         </div>
132       }
133       modalHeader="organization.delete_x.Foo"
134       onConfirm={[Function]}
135     >
136       <Component />
137     </ConfirmButton>
138   </div>
139 </Fragment>
140 `;