summaryrefslogtreecommitdiff
path: root/spec/frontend/packages_and_registries/settings/project/settings/components/__snapshots__/settings_form_spec.js.snap
blob: 7a52b4a5d0f49c71976bc5151edf0d86ab4a5343 (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[`Settings Form Cadence matches snapshot 1`] = `
<expiration-dropdown-stub
  class="gl-mr-7 gl-mb-0!"
  data-testid="cadence-dropdown"
  formoptions="[object Object],[object Object],[object Object],[object Object],[object Object]"
  label="Run cleanup:"
  name="cadence"
  value="EVERY_DAY"
/>
`;

exports[`Settings Form Enable matches snapshot 1`] = `
<expiration-toggle-stub
  class="gl-mb-0!"
  data-testid="enable-toggle"
  value="true"
/>
`;

exports[`Settings Form Keep N matches snapshot 1`] = `
<expiration-dropdown-stub
  data-testid="keep-n-dropdown"
  formoptions="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
  label="Keep the most recent:"
  name="keep-n"
  value="TEN_TAGS"
/>
`;

exports[`Settings Form Keep Regex matches snapshot 1`] = `
<expiration-input-stub
  data-testid="keep-regex-input"
  description="Tags with names that match this regex pattern are kept. %{linkStart}View regex examples.%{linkEnd}"
  error=""
  label="Keep tags matching:"
  name="keep-regex"
  placeholder=""
  value="sss"
/>
`;

exports[`Settings Form OlderThan matches snapshot 1`] = `
<expiration-dropdown-stub
  data-testid="older-than-dropdown"
  formoptions="[object Object],[object Object],[object Object],[object Object]"
  label="Remove tags older than:"
  name="older-than"
  value="FOURTEEN_DAYS"
/>
`;

exports[`Settings Form Remove regex matches snapshot 1`] = `
<expiration-input-stub
  data-testid="remove-regex-input"
  description="Tags with names that match this regex pattern are removed. %{linkStart}View regex examples.%{linkEnd}"
  error=""
  label="Remove tags matching:"
  name="remove-regex"
  placeholder=".*"
  value="asdasdssssdfdf"
/>
`;