Skip to content

Commit

Permalink
Drop the 'Displays the unmapped field on the table' test (#111741) (#…
Browse files Browse the repository at this point in the history
…111797)

It's too unstable for now
# Conflicts:
#	x-pack/plugins/security_solution/cypress/ccs_integration/detection_alerts/alerts_details.spec.ts
  • Loading branch information
cavokz authored Sep 9, 2021
1 parent d4bb649 commit 31541d3
Showing 1 changed file with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* 2.0.
*/

import { ALERT_FLYOUT, CELL_TEXT, JSON_LINES, TABLE_ROWS } from '../../screens/alerts_details';
import { ALERT_FLYOUT, 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';
Expand Down Expand Up @@ -55,21 +55,4 @@ describe('Alert details with unmapped fields', () => {
.should('include', expectedUnmappedField.text);
});
});

it('Displays the unmapped field on the table', () => {
const expectedUnmmappedField = {
row: 87,
field: 'unmapped',
text: 'This is the unmapped field',
};

openTable();
cy.get(ALERT_FLYOUT)
.find(TABLE_ROWS)
.eq(expectedUnmmappedField.row)
.within(() => {
cy.get(CELL_TEXT).eq(2).should('have.text', expectedUnmmappedField.field);
cy.get(CELL_TEXT).eq(4).should('have.text', expectedUnmmappedField.text);
});
});
});

0 comments on commit 31541d3

Please sign in to comment.