summaryrefslogtreecommitdiff
path: root/spec/frontend/self_monitor/components/__snapshots__/self_monitor_form_spec.js.snap
blob: 523f4e8898561232eece163b26455e41b343fcb3 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`self monitor component When the self monitor project has not been created default state to match the default snapshot 1`] = `
<section
  class="settings no-animate js-self-monitoring-settings"
>
  <div
    class="settings-header"
  >
    <h4
      class="js-section-header"
    >
      
      Self monitoring
    
    </h4>
     
    <gl-button-stub
      buttontextclasses=""
      category="primary"
      class="js-settings-toggle"
      icon=""
      size="medium"
      variant="default"
    >
      Expand
    </gl-button-stub>
     
    <p
      class="js-section-sub-header"
    >
      
      Enable or disable instance self monitoring
    
    </p>
  </div>
   
  <div
    class="settings-content"
  >
    <form
      name="self-monitoring-form"
    >
      <p>
        Enabling this feature creates a project that can be used to monitor the health of your instance.
      </p>
       
      <gl-form-group-stub
        labeldescription=""
      >
        <gl-toggle-stub
          label="Create Project"
          labelposition="top"
        />
      </gl-form-group-stub>
    </form>
  </div>
   
  <gl-modal-stub
    cancel-title="Cancel"
    category="primary"
    dismisslabel="Close"
    modalclass=""
    modalid="delete-self-monitor-modal"
    ok-title="Delete project"
    ok-variant="danger"
    size="md"
    title="Disable self monitoring?"
    titletag="h4"
  >
    <div>
      
      Disabling this feature will delete the self monitoring project. Are you sure you want to delete the project?
    
    </div>
  </gl-modal-stub>
</section>
`;