summaryrefslogtreecommitdiff
path: root/spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap
blob: bfe7e40fb32691ba66f62ba1c2cd5ffdaf16d136 (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
58
59
60
61
62
63
64
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Keep latest artifact checkbox when application keep latest artifact setting is disabled checkbox is disabled when application setting is disabled 1`] = `
<div>
  <!---->
   
  <b-form-checkbox-stub
    checked="true"
    class="gl-form-checkbox"
    disabled="true"
    plain="true"
    value="true"
  >
    <strong
      class="gl-mr-3"
    >
      Keep artifacts from most recent successful jobs
    </strong>
     
    <gl-link-stub
      href="/help/ci/pipelines/job_artifacts"
    >
      More information
    </gl-link-stub>
     
    <p
      class="help-text"
    >
      This feature is disabled at the instance level.
    </p>
  </b-form-checkbox-stub>
</div>
`;

exports[`Keep latest artifact checkbox when application keep latest artifact setting is enabled sets correct setting value in checkbox with query result 1`] = `
<div>
  <!---->
   
  <b-form-checkbox-stub
    checked="true"
    class="gl-form-checkbox"
    plain="true"
    value="true"
  >
    <strong
      class="gl-mr-3"
    >
      Keep artifacts from most recent successful jobs
    </strong>
     
    <gl-link-stub
      href="/help/ci/pipelines/job_artifacts"
    >
      More information
    </gl-link-stub>
     
    <p
      class="help-text"
    >
      The latest artifacts created by jobs in the most recent successful pipeline will be stored.
    </p>
  </b-form-checkbox-stub>
</div>
`;