From 415c2f0c252d6a41a7dd80d5ceff82df583d9337 Mon Sep 17 00:00:00 2001 From: Dan Dong <58446449+danieldong51@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:59:33 -0700 Subject: [PATCH] updated AD testing (#1518) --- .../vis_augmenter/associate_detector_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/plugins/anomaly-detection-dashboards-plugin/vis_augmenter/associate_detector_spec.js b/cypress/integration/plugins/anomaly-detection-dashboards-plugin/vis_augmenter/associate_detector_spec.js index 7a9c8ee4d..042546d83 100644 --- a/cypress/integration/plugins/anomaly-detection-dashboards-plugin/vis_augmenter/associate_detector_spec.js +++ b/cypress/integration/plugins/anomaly-detection-dashboards-plugin/vis_augmenter/associate_detector_spec.js @@ -88,7 +88,7 @@ describe('Anomaly detection integration with vis augmenter', () => { it('Associate existing detector - creation flow', () => { openAddAnomalyDetectorFlyout(dashboardName, visualizationName); - cy.get('.euiFlyout').find('.euiTitle').contains('Add anomaly detector'); + cy.get('.euiFlyout').find('.euiText').contains('Add anomaly detector'); // ensuring the flyout is defaulting to detector creation vs. association cy.getElementByTestId('adAnywhereCreateDetectorButton'); cy.get('[id="add-anomaly-detector__existing"]').click();