summaryrefslogtreecommitdiff
path: root/spec/frontend/sidebar/confidential/__snapshots__/edit_form_spec.js.snap
blob: d33f6c7f3897f6955cd1bb26544ed999263c4c3b (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Edit Form Dropdown when confidential renders on or off text based on confidentiality 1`] = `
<div
  class="dropdown show"
  toggleform="function () {}"
  updateconfidentialattribute="function () {}"
>
  <div
    class="dropdown-menu sidebar-item-warning-message"
  >
    <div>
      <p>
        <gl-sprintf-stub
          message="You are going to turn off the confidentiality. This means %{strongStart}everyone%{strongEnd} will be able to see and leave a comment on this %{issuableType}."
        />
      </p>
       
      <edit-form-buttons-stub
        confidential="true"
        fullpath=""
      />
    </div>
  </div>
</div>
`;

exports[`Edit Form Dropdown when not confidential renders "You are going to turn on the confidentiality." in the  1`] = `
<div
  class="dropdown show"
  toggleform="function () {}"
  updateconfidentialattribute="function () {}"
>
  <div
    class="dropdown-menu sidebar-item-warning-message"
  >
    <div>
      <p>
        <gl-sprintf-stub
          message="You are going to turn on the confidentiality. This means that only team members with %{strongStart}at least Reporter access%{strongEnd} are able to see and leave comments on the %{issuableType}."
        />
      </p>
       
      <edit-form-buttons-stub
        fullpath=""
      />
    </div>
  </div>
</div>
`;