summaryrefslogtreecommitdiff
path: root/spec/frontend/design_management_legacy/components/toolbar/__snapshots__/index_spec.js.snap
blob: e55cff8de3d7c74822b3a2d9b0ae8794bb8b724e (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Design management toolbar component renders design and updated data 1`] = `
<header
  class="d-flex p-2 bg-white align-items-center js-design-header"
>
  <a
    aria-label="Go back to designs"
    class="mr-3 text-plain d-flex justify-content-center align-items-center"
  >
    <icon-stub
      name="close"
      size="18"
    />
  </a>
   
  <div
    class="overflow-hidden d-flex align-items-center"
  >
    <h2
      class="m-0 str-truncated-100 gl-font-base"
    >
      test.jpg
    </h2>
     
    <small
      class="text-secondary"
    >
      Updated 1 hour ago by Test Name
    </small>
  </div>
   
  <pagination-stub
    class="ml-auto flex-shrink-0"
    id="1"
  />
   
  <gl-deprecated-button-stub
    class="mr-2"
    href="/-/designs/306/7f747adcd4693afadbe968d7ba7d983349b9012d"
    size="md"
    variant="secondary"
  >
    <icon-stub
      name="download"
      size="18"
    />
  </gl-deprecated-button-stub>
   
  <delete-button-stub
    buttonclass=""
    buttonvariant="danger"
    hasselecteddesigns="true"
  >
    <icon-stub
      name="remove"
      size="18"
    />
  </delete-button-stub>
</header>
`;