From 258a40903f452bc0cc888aeeeea8db10e42a0b5f Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 23:17:18 -0700 Subject: [PATCH] change to data explorer (#900) (#901) Signed-off-by: Qingyang(Abby) Hu (cherry picked from commit 07eb834b3a94f9f199695c50b329f4227fa4292e) Co-authored-by: Qingyang(Abby) Hu --- cypress/integration/common/dashboard_sample_data_spec.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cypress/integration/common/dashboard_sample_data_spec.js b/cypress/integration/common/dashboard_sample_data_spec.js index d6ee6f0c7..7d7afa310 100644 --- a/cypress/integration/common/dashboard_sample_data_spec.js +++ b/cypress/integration/common/dashboard_sample_data_spec.js @@ -247,9 +247,8 @@ export function dashboardSanityTests() { describe('checking discover', () => { before(() => { - cy.setAdvancedSetting({ 'discover:v2': false }); // Go to the Discover page - miscUtils.visitPage('app/discover#/'); + miscUtils.visitPage('app/data-explorer/discover#/'); }); after(() => {}); @@ -280,10 +279,7 @@ export function dashboardSanityTests() { }); it('checking index pattern switch button display', () => { - commonUI.checkElementExists( - 'button[data-test-subj="indexPattern-switch-link"]', - 1 - ); + cy.getElementByTestId('dataExplorerDSSelect').should('be.visible'); }); it('checking field filter display', () => {