blob: 0bee37dbf1552ce7c066bd4636600f4af07adbcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Keep latest artifact toggle when application keep latest artifact setting is enabled sets correct setting value in toggle with query result 1`] = `
<div>
<!---->
<div
class="gl-toggle-wrapper gl-display-flex gl-mb-0 gl-flex-direction-column"
data-testid="toggle-wrapper"
>
<span
class="gl-toggle-label gl-flex-shrink-0 gl-mb-3"
data-testid="toggle-label"
id="toggle-label-4"
>
Keep artifacts from most recent successful jobs
</span>
<!---->
<!---->
<button
aria-checked="true"
aria-describedby="toggle-help-2"
aria-labelledby="toggle-label-4"
class="gl-flex-shrink-0 gl-toggle is-checked"
role="switch"
type="button"
>
<span
class="toggle-icon"
>
<gl-icon-stub
name="mobile-issue-close"
size="16"
/>
</span>
</button>
<span
class="gl-help-label"
data-testid="toggle-help"
id="toggle-help-2"
>
The latest artifacts created by jobs in the most recent successful pipeline will be stored.
<gl-link-stub
href="/help/ci/pipelines/job_artifacts"
>
Learn more.
</gl-link-stub>
</span>
</div>
</div>
`;
|