From 608cfbb7bc0423e32a7ee1bfc9b095f71dd1dcb4 Mon Sep 17 00:00:00 2001 From: "Qingyang(Abby) Hu" Date: Mon, 2 Oct 2023 12:57:49 -0700 Subject: [PATCH] change to data explorer (#900) Signed-off-by: Qingyang(Abby) Hu (cherry picked from commit 07eb834b3a94f9f199695c50b329f4227fa4292e) --- 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', () => {