Drop the 'Displays the unmapped field on the table' test (#111741)

It's too unstable for now
This commit is contained in:
Domenico Andreoli 2021-09-09 20:41:59 +02:00 committed by GitHub
parent 4b60458c4b
commit 7ee68bea8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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';
@ -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: 90,
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);
});
});
});