1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`renders with all permissions 1`] = `
7 id="quality-profile-activate-more-rules"
10 "pathname": "/organizations/org/rules",
12 "activation": "false",
18 quality_profiles.activate_more_rules
19 </ActionsDropdownItem>
22 id="quality-profile-backup"
23 to="/api/qualityprofiles/backup?profileKey=key"
26 </ActionsDropdownItem>
28 id="quality-profile-compare"
31 "pathname": "/organizations/org/quality_profiles/compare",
40 </ActionsDropdownItem>
42 id="quality-profile-copy"
46 </ActionsDropdownItem>
48 id="quality-profile-rename"
52 </ActionsDropdownItem>
54 id="quality-profile-set-as-default"
58 </ActionsDropdownItem>
59 <ActionsDropdownDivider />
62 id="quality-profile-delete"
66 </ActionsDropdownItem>
71 exports[`renders with no permissions 1`] = `
76 id="quality-profile-backup"
77 to="/api/qualityprofiles/backup?profileKey=key"
80 </ActionsDropdownItem>
82 id="quality-profile-compare"
85 "pathname": "/organizations/org/quality_profiles/compare",
94 </ActionsDropdownItem>
99 exports[`renders with permission to edit only 1`] = `
103 id="quality-profile-activate-more-rules"
106 "pathname": "/organizations/org/rules",
108 "activation": "false",
114 quality_profiles.activate_more_rules
115 </ActionsDropdownItem>
118 id="quality-profile-backup"
119 to="/api/qualityprofiles/backup?profileKey=key"
122 </ActionsDropdownItem>
124 id="quality-profile-compare"
127 "pathname": "/organizations/org/quality_profiles/compare",
136 </ActionsDropdownItem>
138 id="quality-profile-rename"
142 </ActionsDropdownItem>