From 0fb5b47475e23e8f5bbd8eb35aef7e225f915910 Mon Sep 17 00:00:00 2001 From: Junqiu Lei Date: Wed, 13 Sep 2023 11:50:25 -0700 Subject: [PATCH 1/2] Update source element in import_vector_map_tab.spec.js Signed-off-by: Junqiu Lei --- .../import_vector_map_tab.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js b/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js index 415c8b970..321daf6b1 100644 --- a/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js +++ b/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js @@ -22,8 +22,8 @@ describe('Verify the presence of import custom map tab in region map plugin', () // Click on "Region Map" icon cy.contains('Region Map').click({ force: true }); - // Select index source - [Flights] Flight Log - cy.contains('[Flights] Flight Log').click({ force: true }); + // Select index source - opensearch_dashboards_sample_data_flights + cy.contains('opensearch_dashboards_sample_data_flights').click({ force: true }); }); it('checks import custom map tab is present', () => { From 2c04bf48fdffa028ed92b031a2ed291377a75316 Mon Sep 17 00:00:00 2001 From: Junqiu Lei Date: Wed, 13 Sep 2023 12:13:41 -0700 Subject: [PATCH 2/2] Update source element in import_vector_map_tab.spec.js Signed-off-by: Junqiu Lei --- .../import_vector_map_tab.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js b/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js index 321daf6b1..900955272 100644 --- a/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js +++ b/cypress/integration/plugins/custom-import-map-dashboards/import_vector_map_tab.spec.js @@ -23,7 +23,9 @@ describe('Verify the presence of import custom map tab in region map plugin', () cy.contains('Region Map').click({ force: true }); // Select index source - opensearch_dashboards_sample_data_flights - cy.contains('opensearch_dashboards_sample_data_flights').click({ force: true }); + cy.contains('opensearch_dashboards_sample_data_flights').click({ + force: true, + }); }); it('checks import custom map tab is present', () => {