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

exports[`Design management toolbar component renders design and updated data 1`] = `
<header
  class="gl-display-flex gl-align-items-center gl-justify-content-space-between gl-bg-white gl-py-4 gl-pl-4 js-design-header"
>
  <div
    class="gl-display-flex gl-align-items-center"
  >
    <a
      aria-label="Go back to designs"
      class="gl-mr-5 gl-display-flex gl-align-items-center gl-justify-content-center text-plain"
      data-testid="close-design"
    >
      <gl-icon-stub
        name="close"
        size="16"
      />
    </a>
     
    <div
      class="gl-overflow-hidden gl-display-flex gl-align-items-center"
    >
      <h2
        class="gl-m-0 str-truncated-100 gl-font-base"
      >
        test.jpg
      </h2>
       
      <small
        class="gl-text-gray-500"
      >
        Updated 1 hour ago by Test Name
      </small>
    </div>
  </div>
   
  <design-navigation-stub
    class="gl-ml-auto gl-flex-shrink-0"
    id="1"
  />
   
  <gl-button-stub
    buttontextclasses=""
    category="primary"
    href="/-/designs/306/7f747adcd4693afadbe968d7ba7d983349b9012d"
    icon="download"
    size="medium"
    title="Download design"
    variant="default"
  />
   
  <delete-button-stub
    buttoncategory="secondary"
    buttonclass=""
    buttonicon="archive"
    buttonsize="medium"
    buttonvariant="warning"
    class="gl-ml-3"
    hasselecteddesigns="true"
    title="Archive design"
  />
</header>
`;