1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`renders correctly: branch 1`] = `
9 defaultMessage="component_navigation.status.failed_branch_X"
10 id="component_navigation.status.failed_branch_X"
13 "branch": "my/branch",
14 "stacktrace": undefined,
15 "type": "background_task.type.REPORT",
23 exports[`renders correctly: branch for admins 1`] = `
29 defaultMessage="component_navigation.status.failed_branch_X"
30 id="component_navigation.status.failed_branch_X"
33 "branch": "my/branch",
34 "stacktrace": undefined,
35 "type": "background_task.type.REPORT",
43 exports[`renders correctly: default 1`] = `
49 defaultMessage="component_navigation.status.failed_X"
50 id="component_navigation.status.failed_X"
54 "stacktrace": undefined,
55 "type": "background_task.type.REPORT",
63 exports[`renders correctly: in progress 1`] = `
69 defaultMessage="component_navigation.status.in_progress_X"
70 id="component_navigation.status.in_progress_X"
74 "stacktrace": undefined,
75 "type": "background_task.type.REPORT",
83 exports[`renders correctly: license issue 1`] = `
84 <Connect(withAppState(ComponentNavLicenseNotif))
88 "componentKey": "foo",
89 "componentName": "Foo",
90 "componentQualifier": "TRK",
91 "errorMessage": "Foo",
92 "errorType": "LICENSING",
93 "id": "AXR8jg_0mF2ZsYr8Wzs2",
95 "submittedAt": "2020-09-11T11:45:35+0200",
102 exports[`renders correctly: no current task 1`] = `""`;
104 exports[`renders correctly: on background task page 1`] = `
110 defaultMessage="component_navigation.status.failed_X.admin.help"
111 id="component_navigation.status.failed_X.admin.help"
115 "stacktrace": "background_tasks.show_stacktrace",
116 "type": "background_task.type.REPORT",
124 exports[`renders correctly: on background task page for branch 1`] = `
130 defaultMessage="component_navigation.status.failed_branch_X.admin.help"
131 id="component_navigation.status.failed_branch_X.admin.help"
134 "branch": "my/branch",
135 "stacktrace": "background_tasks.show_stacktrace",
136 "type": "background_task.type.REPORT",
144 exports[`renders correctly: pending 1`] = `
150 defaultMessage="component_navigation.status.pending_X"
151 id="component_navigation.status.pending_X"
155 "stacktrace": undefined,
156 "type": "background_task.type.REPORT",
164 exports[`renders correctly: pending for admins 1`] = `
170 defaultMessage="component_navigation.status.pending_X.admin.link"
171 id="component_navigation.status.pending_X.admin.link"
175 "stacktrace": undefined,
176 "type": "background_task.type.REPORT",
178 onlyActiveOnIndex={false}
182 "pathname": "/project/background_tasks",
190 background_tasks.page
198 exports[`renders correctly: pull request 1`] = `
204 defaultMessage="component_navigation.status.failed_branch_X.admin.link"
205 id="component_navigation.status.failed_branch_X.admin.link"
208 "branch": "650 - feature/my_pr",
209 "stacktrace": undefined,
210 "type": "background_task.type.REPORT",
212 onlyActiveOnIndex={false}
216 "pathname": "/project/background_tasks",
224 background_tasks.page
232 exports[`renders correctly: pull request for admins 1`] = `
238 defaultMessage="component_navigation.status.failed_branch_X.admin.link"
239 id="component_navigation.status.failed_branch_X.admin.link"
242 "branch": "650 - feature/my_pr",
243 "stacktrace": undefined,
244 "type": "background_task.type.REPORT",
246 onlyActiveOnIndex={false}
250 "pathname": "/project/background_tasks",
258 background_tasks.page