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"
130 "href": "https://redirect.sonarsource.com/editions/developer.html",
131 "label": "learn_more",
135 title="branch_like_navigation.no_branch_support.title.mr"
141 </DocumentationTooltip>
145 exports[`projects should render correctly when branches support is disabled: alm with prs 1`] = `
147 className="display-flex-center flex-shrink text-ellipsis"
152 "analysisDate": "2018-01-01",
153 "excludedFromPurge": true,
161 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
166 <DocumentationTooltip
167 content="branch_like_navigation.no_branch_support.content_x.pr.alm.github"
168 data-test="branches-support-disabled"
172 "href": "https://redirect.sonarsource.com/editions/developer.html",
173 "label": "learn_more",
177 title="branch_like_navigation.no_branch_support.title.pr"
183 </DocumentationTooltip>
187 exports[`projects should render correctly when branches support is disabled: default 1`] = `
189 className="display-flex-center flex-shrink text-ellipsis"
194 "analysisDate": "2018-01-01",
195 "excludedFromPurge": true,
203 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
208 <DocumentationTooltip
209 content="branch_like_navigation.no_branch_support.content"
210 data-test="branches-support-disabled"
214 "href": "https://redirect.sonarsource.com/editions/developer.html",
215 "label": "learn_more",
219 title="branch_like_navigation.no_branch_support.title"
225 </DocumentationTooltip>
229 exports[`projects should render correctly when there are many branchlikes 1`] = `
231 className="display-flex-center flex-shrink text-ellipsis"
236 "analysisDate": "2018-01-01",
237 "excludedFromPurge": true,
245 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
254 exports[`projects should render correctly when there is only one branchlike 1`] = `
256 className="display-flex-center flex-shrink text-ellipsis"
261 "analysisDate": "2018-01-01",
262 "excludedFromPurge": true,
270 className="spacer-left spacer-right flex-shrink text-ellipsis js-branch-like-name"
275 <DocumentationTooltip
276 content="branch_like_navigation.only_one_branch.content"
277 data-test="only-one-branch-like"
281 "href": "/documentation/branches/overview/",
282 "label": "branch_like_navigation.only_one_branch.documentation",
285 "href": "/documentation/analysis/pull-request/",
286 "label": "branch_like_navigation.only_one_branch.pr_analysis",
289 "href": "/tutorials?id=my-project",
291 "label": "branch_like_navigation.tutorial_for_ci",
295 title="branch_like_navigation.only_one_branch.title"
301 </DocumentationTooltip>