blob: d67f842d011b0bb4b337ca8d75e194239c594c86 (
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
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Code Coverage when fetching data is successful matches the snapshot 1`] = `
<div>
<div
class="gl-display-flex gl-justify-content-space-between gl-align-items-center gl-border-t gl-pt-4 gl-mb-3"
>
<h4
class="gl-m-0"
sub-header=""
>
<gl-sprintf-stub
message="Code coverage statistics for %{ref} %{start_date} - %{end_date}"
/>
</h4>
<gl-button-stub
buttontextclasses=""
category="primary"
data-testid="download-button"
href="url/"
icon=""
size="small"
variant="default"
>
Download raw data (.csv)
</gl-button-stub>
</div>
<div
class="gl-mt-3 gl-mb-3"
>
<!---->
<!---->
<gl-base-dropdown-stub
ariahaspopup="listbox"
category="primary"
icon=""
size="medium"
toggleid="dropdown-toggle-btn-6"
toggletext="rspec"
variant="default"
>
<!---->
<!---->
<ul
aria-labelledby="dropdown-toggle-btn-6"
class="gl-dropdown-contents gl-list-style-none gl-pl-0 gl-mb-0"
id="listbox"
role="listbox"
tabindex="-1"
>
<gl-listbox-item-stub
data-testid="listbox-item-0"
isselected="true"
>
rspec
</gl-listbox-item-stub>
<gl-listbox-item-stub
data-testid="listbox-item-1"
>
cypress
</gl-listbox-item-stub>
<gl-listbox-item-stub
data-testid="listbox-item-2"
>
karma
</gl-listbox-item-stub>
<!---->
<!---->
</ul>
<!---->
</gl-base-dropdown-stub>
</div>
<gl-area-chart-stub
annotations=""
data="[object Object]"
formattooltiptext="[Function]"
height="200"
includelegendavgmax="true"
legendaveragetext="Avg"
legendcurrenttext="Current"
legendlayout="inline"
legendmaxtext="Max"
legendmintext="Min"
option="[object Object]"
responsive=""
thresholds=""
/>
</div>
`;
|