summaryrefslogtreecommitdiff
path: root/spec/frontend/profile/preferences/components/__snapshots__/integration_view_spec.js.snap
blob: 2fd1fd6a04ef66504de988ace04da9345c34d696 (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`IntegrationView component should render IntegrationView properly 1`] = `
<div
  name="sourcegraph"
>
  <label
    class="label-bold"
  >
    
    Foo
  
  </label>
   
  <gl-link-stub
    class="has-tooltip"
    href="http://foo.com/help"
    title="More information"
  >
    <gl-icon-stub
      class="vertical-align-middle"
      name="question-o"
      size="16"
    />
  </gl-link-stub>
   
  <div
    class="form-group form-check"
    data-testid="profile-preferences-integration-form-group"
  >
    <input
      data-testid="profile-preferences-integration-hidden-field"
      name="user[foo_enabled]"
      type="hidden"
      value="0"
    />
     
    <input
      class="form-check-input"
      data-testid="profile-preferences-integration-checkbox"
      id="user_foo_enabled"
      name="user[foo_enabled]"
      type="checkbox"
      value="1"
    />
     
    <label
      class="form-check-label"
      for="user_foo_enabled"
    >
      
      Enable foo
    
    </label>
     
    <gl-form-text-stub
      tag="div"
      textvariant="muted"
    >
      <integration-help-text-stub
        message="Click %{linkStart}Foo%{linkEnd}!"
        messageurl="http://foo.com"
      />
    </gl-form-text-stub>
  </div>
</div>
`;