1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`renderBulkButton should be null when the user does not have the sufficient permission 1`] = `<div />`;
5 exports[`renderBulkButton should be null when the user is not logged in 1`] = `<div />`;
7 exports[`renderBulkButton should show bulk change button when user has edit rights on specific quality profile 1`] = `
11 "activation": undefined,
12 "activationSeverities": [],
13 "availableSince": undefined,
14 "compareToProfile": undefined,
16 "inheritance": undefined,
19 "owaspTop10-2021": [],
23 "searchQuery": undefined,
25 "sonarsourceSecurity": [],
28 "template": undefined,
38 "activeDeprecatedRuleCount": 2,
39 "activeRuleCount": 10,
47 "languageName": "JavaScript",
52 "activeDeprecatedRuleCount": 2,
53 "activeRuleCount": 10,
61 "languageName": "JavaScript",
71 exports[`renderBulkButton should show bulk change button when user has global admin rights on quality profiles 1`] = `
75 "activation": undefined,
76 "activationSeverities": [],
77 "availableSince": undefined,
78 "compareToProfile": undefined,
80 "inheritance": undefined,
83 "owaspTop10-2021": [],
87 "searchQuery": undefined,
89 "sonarsourceSecurity": [],
92 "template": undefined,
96 referencedProfiles={{}}
101 exports[`should render correctly: loaded (ScreenPositionHelper) 1`] = `
104 className="layout-page-side"
112 className="layout-page-side-inner"
115 className="layout-page-filters"
118 anchor="rules_filters"
119 label="coding_rules.skip_to_filters"
127 className="spacer-bottom"
128 id="coding-rules-search"
131 onChange={[Function]}
132 placeholder="search.search_for_rules"
137 onFacetToggle={[Function]}
138 onFilterChange={[Function]}
143 "owaspTop10-2021": false,
144 "sonarsourceSecurity": false,
151 "activation": undefined,
152 "activationSeverities": [],
153 "availableSince": undefined,
154 "compareToProfile": undefined,
156 "inheritance": undefined,
159 "owaspTop10-2021": [],
160 "profile": undefined,
162 "ruleKey": undefined,
163 "searchQuery": undefined,
165 "sonarsourceSecurity": [],
168 "template": undefined,
172 referencedProfiles={{}}
173 referencedRepositories={{}}
180 exports[`should render correctly: loaded 1`] = `
183 suggestions="coding_rules"
187 encodeSpecialCharacters={true}
188 prioritizeSeoTags={false}
189 title="coding_rules.page"
197 className="layout-page"
198 id="coding-rules-page"
200 <ScreenPositionHelper
201 className="layout-page-side-outer"
204 </ScreenPositionHelper>
206 className="layout-page-main"
209 className="layout-page-header-panel layout-page-main-header"
212 className="layout-page-header-panel-inner layout-page-main-header-inner"
215 className="layout-page-main-inner"
221 className="display-flex-space-between"
226 "activation": undefined,
227 "activationSeverities": [],
228 "availableSince": undefined,
229 "compareToProfile": undefined,
231 "inheritance": undefined,
234 "owaspTop10-2021": [],
235 "profile": undefined,
237 "ruleKey": undefined,
238 "searchQuery": undefined,
240 "sonarsourceSecurity": [],
243 "template": undefined,
247 referencedProfiles={{}}
264 className="layout-page-main-inner"
267 aria-label="list_of_rules"
271 key="javascript:S1067"
272 onActivate={[Function]}
273 onDeactivate={[Function]}
274 onFilterChange={[Function]}
278 "key": "javascript:S1067",
280 "langName": "JavaScript",
291 "type": "CODE_SMELL",
298 key="javascript:S1067"
299 onActivate={[Function]}
300 onDeactivate={[Function]}
301 onFilterChange={[Function]}
305 "key": "javascript:S1067",
307 "langName": "JavaScript",
318 "type": "CODE_SMELL",
326 loadMore={[Function]}
336 exports[`should render correctly: loading 1`] = `
339 suggestions="coding_rules"
343 encodeSpecialCharacters={true}
344 prioritizeSeoTags={false}
345 title="coding_rules.page"
353 className="layout-page"
354 id="coding-rules-page"
356 <ScreenPositionHelper
357 className="layout-page-side-outer"
360 </ScreenPositionHelper>
362 className="layout-page-main"
365 className="layout-page-header-panel layout-page-main-header"
368 className="layout-page-header-panel-inner layout-page-main-header-inner"
371 className="layout-page-main-inner"
377 className="display-flex-space-between"
386 className="layout-page-main-inner"
389 aria-label="list_of_rules"