From 15c66c80937f4086eaf3d0360d99365199557931 Mon Sep 17 00:00:00 2001 From: Domenico Andreoli Date: Fri, 10 Sep 2021 00:28:39 +0200 Subject: [PATCH] Drop the 'Displays the unmapped field on the table' test (#111741) (#111796) It's too unstable for now # Conflicts: # x-pack/plugins/security_solution/cypress/ccs_integration/detection_alerts/alerts_details.spec.ts --- .../detection_alerts/alerts_details.spec.ts | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/x-pack/plugins/security_solution/cypress/ccs_integration/detection_alerts/alerts_details.spec.ts b/x-pack/plugins/security_solution/cypress/ccs_integration/detection_alerts/alerts_details.spec.ts index 04e0753a91085..71f0545ff592f 100644 --- a/x-pack/plugins/security_solution/cypress/ccs_integration/detection_alerts/alerts_details.spec.ts +++ b/x-pack/plugins/security_solution/cypress/ccs_integration/detection_alerts/alerts_details.spec.ts @@ -5,14 +5,14 @@ * 2.0. */ -import { CELL_TEXT, JSON_LINES, TABLE_ROWS } from '../../screens/alerts_details'; +import { JSON_LINES } from '../../screens/alerts_details'; import { expandFirstAlert, waitForAlertsIndexToBeCreated, waitForAlertsPanelToBeLoaded, } from '../../tasks/alerts'; -import { openJsonView, openTable, scrollJsonViewToBottom } from '../../tasks/alerts_details'; +import { openJsonView, scrollJsonViewToBottom } from '../../tasks/alerts_details'; import { createCustomRuleActivated } from '../../tasks/api_calls/rules'; import { cleanKibana } from '../../tasks/common'; import { loginAndWaitForPageWithoutDateRange } from '../../tasks/login'; @@ -52,21 +52,4 @@ describe('Alert details with unmapped fields', () => { .should('have.text', expectedUnmappedField.text); }); }); - - it('Displays the unmapped field on the table', () => { - const expectedUnmmappedField = { - row: 56, - field: 'unmapped', - text: 'This is the unmapped field', - }; - - openTable(); - - cy.get(TABLE_ROWS) - .eq(expectedUnmmappedField.row) - .within(() => { - cy.get(CELL_TEXT).eq(0).should('have.text', expectedUnmmappedField.field); - cy.get(CELL_TEXT).eq(1).should('have.text', expectedUnmmappedField.text); - }); - }); });