summaryrefslogtreecommitdiff
path: root/spec/frontend/design_management/components/__snapshots__/design_scaler_spec.js.snap
blob: 0679b485f778c78a7ed246544f01082333bab4e3 (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Design management design scaler component minus and reset buttons are disabled when scale === 1 1`] = `
<div
  class="design-scaler btn-group"
  role="group"
>
  <button
    class="btn"
    disabled="disabled"
  >
    <span
      class="gl-display-flex gl-justify-content-center gl-align-items-center gl-icon s16"
    >
      
      –
    
    </span>
  </button>
   
  <button
    class="btn"
    disabled="disabled"
  >
    <gl-icon-stub
      name="redo"
      size="16"
    />
  </button>
   
  <button
    class="btn"
  >
    <gl-icon-stub
      name="plus"
      size="16"
    />
  </button>
</div>
`;

exports[`Design management design scaler component minus and reset buttons are enabled when scale > 1 1`] = `
<div
  class="design-scaler btn-group"
  role="group"
>
  <button
    class="btn"
  >
    <span
      class="gl-display-flex gl-justify-content-center gl-align-items-center gl-icon s16"
    >
      
      –
    
    </span>
  </button>
   
  <button
    class="btn"
  >
    <gl-icon-stub
      name="redo"
      size="16"
    />
  </button>
   
  <button
    class="btn"
  >
    <gl-icon-stub
      name="plus"
      size="16"
    />
  </button>
</div>
`;

exports[`Design management design scaler component plus button is disabled when scale === 2 1`] = `
<div
  class="design-scaler btn-group"
  role="group"
>
  <button
    class="btn"
  >
    <span
      class="gl-display-flex gl-justify-content-center gl-align-items-center gl-icon s16"
    >
      
      –
    
    </span>
  </button>
   
  <button
    class="btn"
  >
    <gl-icon-stub
      name="redo"
      size="16"
    />
  </button>
   
  <button
    class="btn"
    disabled="disabled"
  >
    <gl-icon-stub
      name="plus"
      size="16"
    />
  </button>
</div>
`;