summaryrefslogtreecommitdiff
path: root/spec/frontend/mr_popover/__snapshots__/mr_popover_spec.js.snap
blob: 3229492506a28d961fb81eb8736122bd433cd5f2 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`MR Popover loaded state matches the snapshot 1`] = `
<gl-popover-stub
  boundary="viewport"
  cssclasses=""
  placement="top"
  show=""
  target=""
>
  <div
    class="mr-popover"
  >
    <div
      class="d-flex align-items-center justify-content-between"
    >
      <div
        class="d-inline-flex align-items-center"
      >
        <div
          class="issuable-status-box status-box status-box-open"
        >
          
          Open
        
        </div>
         
        <span
          class="text-secondary"
        >
          Opened 
          <time>
            just now
          </time>
        </span>
      </div>
       
      <ci-icon-stub
        cssclasses=""
        size="16"
        status="[object Object]"
      />
    </div>
     
    <h5
      class="my-2"
    >
      MR Title
    </h5>
     
    <div
      class="text-secondary"
    >
      
      foo/bar!1
    
    </div>
  </div>
</gl-popover-stub>
`;

exports[`MR Popover shows skeleton-loader while apollo is loading 1`] = `
<gl-popover-stub
  boundary="viewport"
  cssclasses=""
  placement="top"
  show=""
  target=""
>
  <div
    class="mr-popover"
  >
    <div>
      <gl-skeleton-loading-stub
        class="animation-container-small mt-1"
        lines="1"
      />
    </div>
     
    <h5
      class="my-2"
    >
      MR Title
    </h5>
     
    <div
      class="text-secondary"
    >
      
      foo/bar!1
    
    </div>
  </div>
</gl-popover-stub>
`;