snippet_visibility_edit_spec.js.snap 1.9 KB
Newer Older
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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Snippet Visibility Edit component rendering matches the snapshot 1`] = `
<div
  class="form-group"
>
  <label>
    
    Visibility level
    
    <gl-link-stub
      href="/foo/bar"
      target="_blank"
    >
      <gl-icon-stub
        name="question"
        size="12"
      />
    </gl-link-stub>
  </label>
   
  <gl-form-group-stub
    id="visibility-level-setting"
  >
    <gl-form-radio-group-stub
26
      checked="private"
27 28 29 30 31 32 33 34 35
      disabledfield="disabled"
      htmlfield="html"
      options=""
      stacked=""
      textfield="text"
      valuefield="value"
    >
      <gl-form-radio-stub
        class="mb-3"
36
        value="private"
37 38 39 40 41 42 43 44 45 46
      >
        <div
          class="d-flex align-items-center"
        >
          <gl-icon-stub
            name="lock"
            size="16"
          />
           
          <span
47
            class="font-weight-bold ml-1 js-visibility-option"
48 49 50 51 52 53 54
          >
            Private
          </span>
        </div>
      </gl-form-radio-stub>
      <gl-form-radio-stub
        class="mb-3"
55
        value="internal"
56 57 58 59 60 61 62 63 64 65
      >
        <div
          class="d-flex align-items-center"
        >
          <gl-icon-stub
            name="shield"
            size="16"
          />
           
          <span
66
            class="font-weight-bold ml-1 js-visibility-option"
67 68 69 70 71 72 73
          >
            Internal
          </span>
        </div>
      </gl-form-radio-stub>
      <gl-form-radio-stub
        class="mb-3"
74
        value="public"
75 76 77 78 79 80 81 82 83 84
      >
        <div
          class="d-flex align-items-center"
        >
          <gl-icon-stub
            name="earth"
            size="16"
          />
           
          <span
85
            class="font-weight-bold ml-1 js-visibility-option"
86 87 88 89 90 91 92 93 94
          >
            Public
          </span>
        </div>
      </gl-form-radio-stub>
    </gl-form-radio-group-stub>
  </gl-form-group-stub>
</div>
`;