1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`applications should render correctly when there are many branchlikes 1`] = `
5 className="display-flex-center flex-shrink text-ellipsis"
10 "analysisDate": "2018-01-01",
11 "excludedFromPurge": true,
19 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
28 exports[`applications should render correctly when there is only one branch and the user CAN'T admin the application 1`] = `
30 className="display-flex-center flex-shrink text-ellipsis"
35 "analysisDate": "2018-01-01",
36 "excludedFromPurge": true,
44 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
52 exports[`applications should render correctly when there is only one branch and the user can admin the application 1`] = `
54 className="display-flex-center flex-shrink text-ellipsis"
59 "analysisDate": "2018-01-01",
60 "excludedFromPurge": true,
68 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
77 application.branches.help
80 className="spacer-top spacer-bottom"
85 "pathname": "/project/admin/extension/developer-server/application-console",
86 "search": "?id=my-project",
90 application.branches.link
103 exports[`projects should render correctly when branches support is disabled: alm with mrs 1`] = `
105 className="display-flex-center flex-shrink text-ellipsis"
110 "analysisDate": "2018-01-01",
111 "excludedFromPurge": true,
119 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
124 <DocumentationTooltip
125 content="branch_like_navigation.no_branch_support.content_x.mr.alm.gitlab"
126 data-test="branches-support-disabled"
131 "href": "https://www.sonarsource.com/plans-and-pricing/developer/",
132 "label": "learn_more",
136 title="branch_like_navigation.no_branch_support.title.mr"
142 </DocumentationTooltip>
146 exports[`projects should render correctly when branches support is disabled: alm with prs 1`] = `
148 className="display-flex-center flex-shrink text-ellipsis"
153 "analysisDate": "2018-01-01",
154 "excludedFromPurge": true,
162 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
167 <DocumentationTooltip
168 content="branch_like_navigation.no_branch_support.content_x.pr.alm.github"
169 data-test="branches-support-disabled"
174 "href": "https://www.sonarsource.com/plans-and-pricing/developer/",
175 "label": "learn_more",
179 title="branch_like_navigation.no_branch_support.title.pr"
185 </DocumentationTooltip>
189 exports[`projects should render correctly when branches support is disabled: default 1`] = `
191 className="display-flex-center flex-shrink text-ellipsis"
196 "analysisDate": "2018-01-01",
197 "excludedFromPurge": true,
205 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
210 <DocumentationTooltip
211 content="branch_like_navigation.no_branch_support.content"
212 data-test="branches-support-disabled"
217 "href": "https://www.sonarsource.com/plans-and-pricing/developer/",
218 "label": "learn_more",
222 title="branch_like_navigation.no_branch_support.title"
228 </DocumentationTooltip>
232 exports[`projects should render correctly when there are many branchlikes 1`] = `
234 className="display-flex-center flex-shrink text-ellipsis"
239 "analysisDate": "2018-01-01",
240 "excludedFromPurge": true,
248 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
257 exports[`projects should render correctly when there is only one branchlike 1`] = `
259 className="display-flex-center flex-shrink text-ellipsis"
264 "analysisDate": "2018-01-01",
265 "excludedFromPurge": true,
273 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
278 <DocumentationTooltip
279 content="branch_like_navigation.only_one_branch.content"
280 data-test="only-one-branch-like"
284 "href": "/analyzing-source-code/branches/branch-analysis/",
285 "label": "branch_like_navigation.only_one_branch.documentation",
288 "href": "/analyzing-source-code/pull-request-analysis",
289 "label": "branch_like_navigation.only_one_branch.pr_analysis",
293 "href": "/tutorials?id=my-project",
295 "label": "branch_like_navigation.tutorial_for_ci",
299 title="branch_like_navigation.only_one_branch.title"
305 </DocumentationTooltip>