From e46b9259b541f64b5dce929484cbde6b7da5fefc Mon Sep 17 00:00:00 2001 From: Junqiu Lei Date: Wed, 13 Sep 2023 14:39:22 -0500 Subject: [PATCH] Update source element in import_vector_map_tab.spec.js (#844) * Update source element in import_vector_map_tab.spec.js Signed-off-by: Junqiu Lei * Update source element in import_vector_map_tab.spec.js Signed-off-by: Junqiu Lei --------- Signed-off-by: Junqiu Lei (cherry picked from commit 9a3955994093567199af8892062acdfd32ede390) --- .../import_vector_map_tab.spec.js | 6 ++++-- 1 file changed, 4 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..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 @@ -22,8 +22,10 @@ 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', () => {