]> source.dussan.org Git - sonarqube.git/blob
99d677cb7c7f4f3838f535864715654493ed69c7
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: closed 1`] = `
4 <BoxedGroupAccordion
5   className="big-spacer-bottom"
6   onClick={[Function]}
7   open={false}
8   title={
9     <h3
10       title="Azure Project"
11     >
12       azure-project-1
13     </h3>
14   }
15 />
16 `;
17
18 exports[`should render correctly: importing 1`] = `
19 <BoxedGroupAccordion
20   className="big-spacer-bottom open"
21   onClick={[Function]}
22   open={true}
23   title={
24     <h3
25       title="Azure Project"
26     >
27       azure-project-1
28     </h3>
29   }
30 >
31   <DeferredSpinner
32     loading={false}
33   >
34     <div
35       className="display-flex-wrap"
36     >
37       <div
38         className="display-flex-start spacer-right spacer-bottom create-project-azdo-repo"
39         key="Azure repo 1"
40       >
41         <Radio
42           checked={false}
43           className="overflow-hidden"
44           disabled={true}
45           onCheck={[Function]}
46           value="Azure repo 1"
47         >
48           <strong
49             className="text-ellipsis"
50             title="Azure repo 1"
51           >
52             Azure repo 1
53           </strong>
54         </Radio>
55       </div>
56     </div>
57     <ListFooter
58       count={1}
59       loadMore={[Function]}
60       total={1}
61     />
62   </DeferredSpinner>
63 </BoxedGroupAccordion>
64 `;
65
66 exports[`should render correctly: loading 1`] = `
67 <BoxedGroupAccordion
68   className="big-spacer-bottom open"
69   onClick={[Function]}
70   open={true}
71   title={
72     <h3
73       title="Azure Project"
74     >
75       azure-project-1
76     </h3>
77   }
78 >
79   <DeferredSpinner
80     loading={true}
81   >
82     <div
83       className="display-flex-wrap"
84     />
85     <ListFooter
86       count={0}
87       loadMore={[Function]}
88       total={0}
89     />
90   </DeferredSpinner>
91 </BoxedGroupAccordion>
92 `;
93
94 exports[`should render correctly: with repositories 1`] = `
95 <BoxedGroupAccordion
96   className="big-spacer-bottom open"
97   onClick={[Function]}
98   open={true}
99   title={
100     <h3
101       title="Azure Project"
102     >
103       azure-project-1
104     </h3>
105   }
106 >
107   <DeferredSpinner
108     loading={false}
109   >
110     <div
111       className="display-flex-wrap"
112     >
113       <div
114         className="display-flex-start spacer-right spacer-bottom create-project-azdo-repo"
115         key="Azure repo 1"
116       >
117         <Radio
118           checked={false}
119           className="overflow-hidden"
120           disabled={false}
121           onCheck={[Function]}
122           value="Azure repo 1"
123         >
124           <strong
125             className="text-ellipsis"
126             title="Azure repo 1"
127           >
128             Azure repo 1
129           </strong>
130         </Radio>
131       </div>
132       <div
133         className="display-flex-start spacer-right spacer-bottom create-project-azdo-repo"
134         key="Azure repo 1"
135       >
136         <CheckIcon
137           className="spacer-right"
138           fill="#00aa00"
139           size={14}
140         />
141         <div
142           className="overflow-hidden"
143         >
144           <div
145             className="little-spacer-bottom text-ellipsis"
146           >
147             <strong
148               title="SQ Name"
149             >
150               <Link
151                 onlyActiveOnIndex={false}
152                 style={Object {}}
153                 to={
154                   Object {
155                     "pathname": "/dashboard",
156                     "query": Object {
157                       "branch": undefined,
158                       "id": "sq-key",
159                     },
160                   }
161                 }
162               >
163                 SQ Name
164               </Link>
165             </strong>
166           </div>
167           <em>
168             onboarding.create_project.repository_imported
169           </em>
170         </div>
171       </div>
172     </div>
173     <ListFooter
174       count={2}
175       loadMore={[Function]}
176       total={2}
177     />
178   </DeferredSpinner>
179 </BoxedGroupAccordion>
180 `;