blob: 30e1559519315ce6a30a0b57a03185189fb2764b (
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
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Clone Dropdown Button rendering matches the snapshot 1`] = `
<gl-dropdown-stub
category="primary"
clearalltext="Clear all"
clearalltextclass="gl-px-5"
headertext=""
hideheaderborder="true"
highlighteditemstitle="Selected"
highlighteditemstitleclass="gl-px-5"
right="true"
size="medium"
text="Clone"
variant="confirm"
>
<div
class="pb-2 mx-1"
>
<gl-dropdown-section-header-stub>
Clone with SSH
</gl-dropdown-section-header-stub>
<div
class="mx-3"
>
<b-input-group-stub
readonly=""
tag="div"
>
<!---->
<b-form-input-stub
class="gl-form-input"
debounce="0"
formatter="[Function]"
readonly="true"
type="text"
value="ssh://foo.bar"
/>
<b-input-group-append-stub
tag="div"
>
<gl-button-stub
aria-label="Copy URL"
buttontextclasses=""
category="primary"
class="d-inline-flex"
data-clipboard-text="ssh://foo.bar"
data-qa-selector="copy_ssh_url_button"
icon="copy-to-clipboard"
size="medium"
title="Copy URL"
variant="default"
/>
</b-input-group-append-stub>
</b-input-group-stub>
</div>
<gl-dropdown-section-header-stub>
Clone with HTTP
</gl-dropdown-section-header-stub>
<div
class="mx-3"
>
<b-input-group-stub
readonly=""
tag="div"
>
<!---->
<b-form-input-stub
class="gl-form-input"
debounce="0"
formatter="[Function]"
readonly="true"
type="text"
value="http://foo.bar"
/>
<b-input-group-append-stub
tag="div"
>
<gl-button-stub
aria-label="Copy URL"
buttontextclasses=""
category="primary"
class="d-inline-flex"
data-clipboard-text="http://foo.bar"
data-qa-selector="copy_http_url_button"
icon="copy-to-clipboard"
size="medium"
title="Copy URL"
variant="default"
/>
</b-input-group-append-stub>
</b-input-group-stub>
</div>
</div>
</gl-dropdown-stub>
`;
|