[SIEM] Improves toggle column Cypress tests execution time (#54475)
* refactor * replaces 'clearTimeline' for 'createNewTimeline' * fixes typecheck issue Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
6d3c284d11
commit
8a07023343
|
@ -6,15 +6,19 @@
|
|||
|
||||
import { drag, drop } from '../../lib/drag_n_drop/helpers';
|
||||
import { populateTimeline } from '../../lib/fields_browser/helpers';
|
||||
import { toggleFirstTimelineEventDetails } from '../../lib/timeline/helpers';
|
||||
import { createNewTimeline, toggleFirstTimelineEventDetails } from '../../lib/timeline/helpers';
|
||||
import { HOSTS_PAGE } from '../../lib/urls';
|
||||
import { loginAndWaitForPage, DEFAULT_TIMEOUT } from '../../lib/util/helpers';
|
||||
|
||||
describe('toggle column in timeline', () => {
|
||||
beforeEach(() => {
|
||||
before(() => {
|
||||
loginAndWaitForPage(HOSTS_PAGE);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
createNewTimeline();
|
||||
});
|
||||
|
||||
const timestampField = '@timestamp';
|
||||
const idField = '_id';
|
||||
|
||||
|
|
Loading…
Reference in a new issue