]> source.dussan.org Git - sonarqube.git/blob
2561502915eeba4f639d12b0e3b2a7527eab0b53
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders 1`] = `
4 <div
5   className="layout-page projects-page"
6 >
7   <HelmetWrapper
8     encodeSpecialCharacters={true}
9     title="projects.page"
10   />
11   <div
12     className="layout-page-side-outer"
13   >
14     <div
15       className="layout-page-side projects-page-side"
16       style={
17         Object {
18           "top": 30,
19         }
20       }
21     >
22       <div
23         className="layout-page-side-inner"
24       >
25         <div
26           className="layout-page-filters"
27         >
28           <PageSidebar
29             isFavorite={false}
30             query={Object {}}
31             view="overall"
32             visualization="risk"
33           />
34         </div>
35       </div>
36     </div>
37   </div>
38   <div
39     className="layout-page-main projects-page-content"
40   >
41     <div
42       className="layout-page-header-panel layout-page-main-header"
43     >
44       <div
45         className="layout-page-header-panel-inner layout-page-main-header-inner"
46       >
47         <div
48           className="layout-page-main-inner"
49         >
50           <PageHeader
51             currentUser={
52               Object {
53                 "isLoggedIn": true,
54               }
55             }
56             isFavorite={false}
57             loading={false}
58             onPerspectiveChange={[Function]}
59             onSortChange={[Function]}
60             projects={
61               Array [
62                 Object {
63                   "key": "foo",
64                   "measures": Object {},
65                   "name": "Foo",
66                 },
67               ]
68             }
69             query={Object {}}
70             selectedSort="name"
71             total={0}
72             view="overall"
73             visualization="risk"
74           />
75         </div>
76       </div>
77     </div>
78     <div
79       className="layout-page-main-inner"
80     >
81       <ProjectsList
82         cardType="overall"
83         isFavorite={false}
84         isFiltered={false}
85         projects={
86           Array [
87             Object {
88               "key": "foo",
89               "measures": Object {},
90               "name": "Foo",
91             },
92           ]
93         }
94       />
95       <ListFooter
96         count={1}
97         loadMore={[Function]}
98         ready={true}
99         total={0}
100       />
101     </div>
102   </div>
103 </div>
104 `;
105
106 exports[`renders 2`] = `
107 <div
108   className="layout-page projects-page"
109 >
110   <HelmetWrapper
111     encodeSpecialCharacters={true}
112     title="projects.page"
113   />
114   <div
115     className="layout-page-side-outer"
116   >
117     <div
118       className="layout-page-side projects-page-side"
119       style={
120         Object {
121           "top": 30,
122         }
123       }
124     >
125       <div
126         className="layout-page-side-inner"
127       >
128         <div
129           className="layout-page-filters"
130         >
131           <PageSidebar
132             isFavorite={false}
133             query={
134               Object {
135                 "view": "visualizations",
136               }
137             }
138             view="visualizations"
139             visualization="risk"
140           />
141         </div>
142       </div>
143     </div>
144   </div>
145   <div
146     className="layout-page-main projects-page-content"
147   >
148     <div
149       className="layout-page-header-panel layout-page-main-header"
150     >
151       <div
152         className="layout-page-header-panel-inner layout-page-main-header-inner"
153       >
154         <div
155           className="layout-page-main-inner"
156         >
157           <PageHeader
158             currentUser={
159               Object {
160                 "isLoggedIn": true,
161               }
162             }
163             isFavorite={false}
164             loading={false}
165             onPerspectiveChange={[Function]}
166             onSortChange={[Function]}
167             projects={
168               Array [
169                 Object {
170                   "key": "foo",
171                   "measures": Object {},
172                   "name": "Foo",
173                 },
174               ]
175             }
176             query={
177               Object {
178                 "view": "visualizations",
179               }
180             }
181             selectedSort="name"
182             total={0}
183             view="visualizations"
184             visualization="risk"
185           />
186         </div>
187       </div>
188     </div>
189     <div
190       className="layout-page-main-inner"
191     >
192       <Visualizations
193         displayOrganizations={false}
194         projects={
195           Array [
196             Object {
197               "key": "foo",
198               "measures": Object {},
199               "name": "Foo",
200             },
201           ]
202         }
203         total={0}
204         visualization="risk"
205       />
206     </div>
207   </div>
208 </div>
209 `;