@@ -17,6 +17,30 @@ const defaults = {
17
17
} ;
18
18
19
19
const plugins = {
20
+ 'opensearch-dashboards' : {
21
+ name : 'OpenSearch-Dashboards' ,
22
+ default : {
23
+ videos : [
24
+ 'apps/vis_builder/basic.spec.js' ,
25
+ 'apps/vis_builder/dashboard.spec.js' ,
26
+ 'apps/vis_builder/experimental.spec.js' ,
27
+ 'apps/vis_builder/vis_types/area.spec.js' ,
28
+ 'apps/vis_builder/vis_types/bar.spec.js' ,
29
+ 'apps/vis_builder/vis_types/line.spec.js' ,
30
+ 'apps/vis_builder/vis_types/metric.spec.js' ,
31
+ 'apps/vis_builder/vis_types/table.spec.js' ,
32
+ 'apps/vis_type_table/basic.spec.js' ,
33
+ 'apps/vis_type_table/data.spec.js' ,
34
+ 'apps/vis_type_table/embed.spec.js' ,
35
+ 'apps/vis_type_table/options.spec.js' ,
36
+ 'apps/vis_type_table/split.spec.js' ,
37
+ 'apps/datasource-management-plugin/1_create_datasource.spec.js' ,
38
+ 'apps/datasource-management-plugin/2_datasource_table.spec.js' ,
39
+ 'apps/datasource-management-plugin/3_update_datasource.spec.js' ,
40
+ 'dashboard_sanity_test_spec.js' ,
41
+ ] ,
42
+ } ,
43
+ } ,
20
44
'alerting-dashboards-plugin' : {
21
45
name : 'alertingDashboards' ,
22
46
default : {
@@ -286,6 +310,10 @@ function getPluginLinks(plugin) {
286
310
287
311
var pluginLinksList = document . getElementById ( 'pluginLinksList' ) ;
288
312
const pluginObject = plugins [ plugin ] ;
313
+ const coreBaseUrl =
314
+ pluginObject . name === 'OpenSearch-Dashboards'
315
+ ? 'core-opensearch-dashboards'
316
+ : 'plugins' ;
289
317
290
318
const pluginUrl =
291
319
'https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/' +
@@ -294,7 +322,8 @@ function getPluginLinks(plugin) {
294
322
`${ platform } /` +
295
323
`${ arch } /` +
296
324
`${ type } /` +
297
- 'builds/opensearch-dashboards/plugins/' +
325
+ 'builds/opensearch-dashboards/' +
326
+ `${ coreBaseUrl } ` +
298
327
`${ pluginObject . name } -${ version } .zip` ;
299
328
300
329
var githubManifestLink = document . createElement ( 'a' ) ;
@@ -346,14 +375,14 @@ function getPluginLinks(plugin) {
346
375
} /` +
347
376
`${ securityEnabled ? 'with-security' : 'without-security' } ` +
348
377
`${ enableLegacyTestsResults ( ) ? 'test-results' : '' } ` ;
349
- const screenshotBaseUrl = `${ s3BaseUrl } /cypress-screenshots/plugins /${ plugin } /$SPEC_FILE/$FULL_TEST_FAILURE.png` ;
350
- const videosBaseUrl = `${ s3BaseUrl } /cypress-videos/plugins /${ plugin } ` ;
378
+ const screenshotBaseUrl = `${ s3BaseUrl } /cypress-screenshots/${ coreBaseUrl } /${ plugin } /$SPEC_FILE/$FULL_TEST_FAILURE.png` ;
379
+ const videosBaseUrl = `${ s3BaseUrl } /cypress-videos/${ coreBaseUrl } /${ plugin } ` ;
351
380
352
381
document . getElementById (
353
382
'baseScreenshotUrlBefore'
354
383
) . innerHTML = `/tmp/$RANDOM/${
355
384
enableLegacyTestsResults ( ) ? 'functionalTestDashboards' : pluginObject . name
356
- } /cypress/screenshots/plugins /${ plugin } /$SPEC_FILE/$FULL_TEST_FAILURE.png`;
385
+ } /cypress/screenshots/${ coreBaseUrl } /${ plugin } /$SPEC_FILE/$FULL_TEST_FAILURE.png`;
357
386
document . getElementById ( 'baseScreenshotUrlAfter' ) . innerHTML =
358
387
screenshotBaseUrl ;
359
388
0 commit comments