From 30ca6046cb1e34cbb70b529cc0a33952a685c381 Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Wed, 2 Sep 2020 09:23:18 -0700 Subject: [PATCH] Fix broken cypress test related to new empty dashboard buttons (#298) --- .cypress/integration/ad/dashboard/ad_dashboard.spec.ts | 2 +- ...ch-anomaly-detection-kibana-plugin.release-notes-1.10.0.0.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.cypress/integration/ad/dashboard/ad_dashboard.spec.ts b/.cypress/integration/ad/dashboard/ad_dashboard.spec.ts index 6161e947..b9f3a8f9 100644 --- a/.cypress/integration/ad/dashboard/ad_dashboard.spec.ts +++ b/.cypress/integration/ad/dashboard/ad_dashboard.spec.ts @@ -49,7 +49,7 @@ context('AD Dashboard', () => { }); cy.mockSearchIndexOnAction('search_index_response.json', () => { - cy.get('a[data-test-subj="add_detector"]').click({ + cy.get('a[data-test-subj="createDetectorButton"]').click({ force: true, }); }); diff --git a/release-notes/opendistro-for-elasticsearch-anomaly-detection-kibana-plugin.release-notes-1.10.0.0.md b/release-notes/opendistro-for-elasticsearch-anomaly-detection-kibana-plugin.release-notes-1.10.0.0.md index 5ee2c801..9025c05d 100644 --- a/release-notes/opendistro-for-elasticsearch-anomaly-detection-kibana-plugin.release-notes-1.10.0.0.md +++ b/release-notes/opendistro-for-elasticsearch-anomaly-detection-kibana-plugin.release-notes-1.10.0.0.md @@ -3,6 +3,7 @@ Compatible with Kibana 7.9.0 ### Features + - Add sample detectors and indices ([#272](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/272)) ### Enhancements @@ -30,6 +31,7 @@ Compatible with Kibana 7.9.0 - Remove elastic charts dependency ([#269](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/269)) - Add UT for Detector List page ([#279](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/279)) - Fix UT and remove lower EUI version dependency ([#293](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/293)) +- Fix broken cypress test related to new empty dashboard buttons ([#298](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/298)) ### Documentation