-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
209 lines (206 loc) · 6.87 KB
/
index.html
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html>
<head>
<title>OSD Functional Test Repo</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<script src="js/dashboard.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="icon" type="image/x-icon" href="https://avatars.githubusercontent.com/u/12060704?v=4">
</head>
<body onload="setDefaultValues()">
<div class="topNav">
<img src="https://opensearch.org/assets/brand/SVG/Logo/opensearch_dashboards_logo_darkmode.svg"/>
<span>Functional Test Results Explorer</span>
<a href="https://github.com/opensearch-project/opensearch-dashboards-functional-test">
Github
</a>
<a href="https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/new?assignees=&labels=enhancement%2C+untriaged&template=FEATURE_REQUEST_TEMPLATE.md&title=%5BFEATURE%5D">
Plugin Not Here?
</a>
</div>
<div id="advancedConfigDiv">
<table>
<tr>
<th>
Advanced Configurations
</th>
</tr>
<tr>
<td id="advancedConfigTd">
<input type="checkbox" id="advancedConfig" onclick="enableAdvancedConfig()">
</td>
</tr>
</table>
</div>
<div id="descriptionDiv">
Welcome to the test results explorer! Please enter the version and build number to view results.
<br><br>
<i>NOTE: You might need to add an extension to view the results in UTF-8. Otherwise, download directly.</i>
</div>
<div id="inputsDiv">
<table>
<tr>
<th>Version</th>
<th>Build Number</th>
</tr>
<tr>
<td>
<input type="text" id="version" value="2.5.0">
</td>
<td>
<input type="text" id="buildNumber" value="5367">
</td>
</tr>
</table>
<table>
<tr>
<th>Platform</th>
<th>Arch</th>
<th>Type</th>
<th>With Security</th>
</tr>
<tr>
<td>
<select id="platform">
<option value="linux">Linux</option>
<option value="windows">Windows</option>
</select>
</td>
<td>
<select id="arch">
<option value="x64">x64</option>
<option value="arm64">arm64</option>
</select>
</td>
<td>
<select id="type">
<option value="tar">tar</option>
<option value="rpm">rpm</option>
</select>
</td>
<td id="securityTd">
<input type="checkbox" id="security">
</td>
</tr>
<tr>
<th>Test Number</th>
</tr>
<tr>
<td>
<input type="text" id="testNumber" value="2993">
</td>
</tr>
</table>
<table id="advancedInputsTable">
<tr>
<th>Test Job Name</th>
<th>Legacy Tests Results</th>
</tr>
<tr>
<td>
<input style="width:50vw" type="text" id="testJobName" value="integ-test-opensearch-dashboards">
</td>
<td id="legacyTd">
<input type="checkbox" id="legacyResults">
</td>
</tr>
</table>
<button id="submitButton" onclick="getTestResults()">Submit</button>
</div>
<div id="testResultsLinksDiv">
<h2>Useful Links:</h2>
<ul>
<li>
Link to this page: <a id="resultPageLink"></a>
</li>
<li>
<a id="testResultLink"></a>
</li>
<li>
<a id="manifestLink"></a>
</li>
<li>
<a id="osdLink"></a>
</li>
<li>
<a id="osLink"></a>
</li>
<li>
<a id="jenkinsLink"></a>
</li>
</ul>
<h2>Plugins:</h2>
<table>
<tr>
<td id="pluginButtonsTd">
<button id="opensearchDashboardsButton" onclick="getPluginLinks('opensearch-dashboards')">
OpenSearch Dashboards
</button>
<button id="alertingDashboardsButton" onclick="getPluginLinks('alerting-dashboards-plugin')">
alertingDashboards
</button>
<button id="anomalyDetectionDashboardsButton" onclick="getPluginLinks('anomaly-detection-dashboards-plugin')">
anomalyDetectionDashboards
</button>
<button id="customImportMapDashboardsButton" onclick="getPluginLinks('custom-import-map-dashboards')">
customImportMapDashboards
</button>
<button id="ganttChartDashboardsButton" onclick="getPluginLinks('gantt-chart-dashboards')">
ganttChartDashboards
</button>
<button id="indexManagementDashboardsButton" onclick="getPluginLinks('index-management-dashboards-plugin')">
indexManagementDashboards
</button>
<button id="mlCommonsDashboardsButton" onclick="getPluginLinks('ml-commons-dashboards')">
mlCommonsDashboards
</button>
<button id="notificationsDashboardsButton" onclick="getPluginLinks('notifications-dashboards')">
notificationsDashboards
</button>
<button id="observabilityDashboardsButton" onclick="getPluginLinks('observability-dashboards')">
observabilityDashboards
</button>
<button id="queryWorkbenchDashboardsButton" onclick="getPluginLinks('query-workbench-dashboards')">
queryWorkbenchDashboards
</button>
<button id="reportsDashboardsButton" onclick="getPluginLinks('reports-dashboards')">
reportsDashboards
</button>
<button id="searchRelevanceDashboardsButton" onclick="getPluginLinks('search-relevance-dashboards')">
searchRelevanceDashboards
</button>
<button id="securityDashboardsButton" onclick="getPluginLinks('security')">
securityDashboards
</button>
<button id="securityAnalyticsDashboardsButton" onclick="getPluginLinks('security-analytics-dashboards-plugin')">
securityAnalyticsDashboards
</button>
</tr>
</table>
</div>
<div id="pluginLinksDiv">
<button onclick="closePluginLinks()">Close</button>
<h2 id="pluginName"></h2>
<span><i>NOTE: If you are getting errors accessing these links, please verify the plugin is within the build manifest (within the useful links section).</i></span>
<br>
<span>If your plugin is not in the build manifest, please verify it has been added to:</span>
<span id="githubManifestLink"></span>
<br><br>
<span id="pluginLink"></span>
<br><br>
<span id="screenshotHelper">
Screenshots of failed tests can be found by checking the <b>Test Results</b> section for <b>(Screenshots)</b> converting:
<br>
<code id="baseScreenshotUrlBefore"></code>
<br>to<br>
<code id="baseScreenshotUrlAfter"></code>
</span>
<ul id="pluginLinksList"></ul>
</div>
<div id="testResultsDiv">
<h2>Test Results:</h2>
<iframe id="testResults"><meta charset="utf-8"></iframe>
</div>
</body>
</html>