summaryrefslogtreecommitdiff
path: root/spec/frontend/saved_replies/components/__snapshots__/list_item_spec.js.snap
blob: 154ce2bd089f07fd5f2cdc87bc860f9bcd6febcd (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Saved replies list item component renders list item 1`] = `
<li
  class="gl-mb-5"
>
  <div
    class="gl-display-flex gl-align-items-center"
  >
    <strong>
      test
    </strong>
     
    <div
      class="gl-ml-auto"
    >
      <gl-button-stub
        aria-label="Delete"
        buttontextclasses=""
        category="secondary"
        data-testid="saved-reply-delete-btn"
        icon="remove"
        size="medium"
        title="Delete"
        variant="danger"
      />
    </div>
  </div>
   
  <div
    class="gl-mt-3 gl-font-monospace"
  >
    /assign_reviewer
  </div>
   
  <gl-modal-stub
    actionprimary="[object Object]"
    actionsecondary="[object Object]"
    arialabel=""
    dismisslabel="Close"
    modalclass=""
    modalid="delete-saved-reply-2"
    size="sm"
    title="Delete saved reply"
    titletag="h4"
  >
    <gl-sprintf-stub
      message="Are you sure you want to delete %{name}? This action cannot be undone."
    />
  </gl-modal-stub>
</li>
`;