From dbeb661e3e6eb9610a8b201593e81548b640017a Mon Sep 17 00:00:00 2001 From: Deepak Nevde Date: Wed, 8 Jun 2022 12:20:17 +0530 Subject: [PATCH] Conflicts resolved Signed-off-by: Deepak Nevde --- .../.cypress/integration/1_event_analytics.spec.js | 3 +++ dashboards-observability/.cypress/utils/event_constants.js | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboards-observability/.cypress/integration/1_event_analytics.spec.js b/dashboards-observability/.cypress/integration/1_event_analytics.spec.js index 0b9162365..5f5bf1453 100644 --- a/dashboards-observability/.cypress/integration/1_event_analytics.spec.js +++ b/dashboards-observability/.cypress/integration/1_event_analytics.spec.js @@ -619,6 +619,9 @@ describe('Renders data view', () => { }); describe('Renders chart and verify Toast message if X-axis and Y-axis values are empty', () => { + beforeEach(() => { + landOnEventVisualizations(); + }); it('Renders chart, clear X-axis and Y-axis value and click on Apply button, Toast message should display with error message', () => { querySearch(TEST_QUERIES[4].query, TEST_QUERIES[4].dateRangeDOM); cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]') diff --git a/dashboards-observability/.cypress/utils/event_constants.js b/dashboards-observability/.cypress/utils/event_constants.js index c4d005964..aa4bc764c 100644 --- a/dashboards-observability/.cypress/utils/event_constants.js +++ b/dashboards-observability/.cypress/utils/event_constants.js @@ -88,5 +88,4 @@ export const renderPieChart = () => { cy.get('[name="count()"]').eq(0).click(); cy.get('[data-test-subj="comboBoxToggleListButton"]').eq(0).click(); cy.get('[data-test-subj="comboBoxInput"]').eq(2).click(); - cy.get('[name="count()"]').eq(1).click({ multiple: true }); };