From 1eb7b9643d505cacdbe296c54e39f981806d00e3 Mon Sep 17 00:00:00 2001 From: Gloria Hornero Date: Mon, 9 Oct 2023 21:40:05 +0200 Subject: [PATCH] [Security Solution] Unskipping `x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/` working tests on serverless (#168375) --- .../e2e/investigations/timeline_templates/creation.cy.ts | 8 ++------ .../e2e/investigations/timeline_templates/export.cy.ts | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/creation.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/creation.cy.ts index 6b1aa7f2f7332..e040d7ed6c6f3 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/creation.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/creation.cy.ts @@ -26,7 +26,7 @@ import { TIMELINES_FAVORITE, } from '../../../screens/timelines'; import { createTimeline } from '../../../tasks/api_calls/timelines'; -import { cleanKibana, deleteTimelines } from '../../../tasks/common'; +import { deleteTimelines } from '../../../tasks/common'; import { login } from '../../../tasks/login'; import { visit } from '../../../tasks/navigation'; @@ -50,11 +50,7 @@ import { openTimeline, waitForTimelinesPanelToBeLoaded } from '../../../tasks/ti import { TIMELINES_URL } from '../../../urls/navigation'; // FLAKY: https://github.com/elastic/kibana/issues/165661 -describe('Timeline Templates', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => { - before(() => { - cleanKibana(); - }); - +describe('Timeline Templates', { tags: ['@ess', '@serverless'] }, () => { beforeEach(() => { login(); deleteTimelines(); diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/export.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/export.cy.ts index eebeb646d9b4c..2fd83d61a2927 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/export.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timeline_templates/export.cy.ts @@ -20,7 +20,7 @@ import { searchByTitle } from '../../../tasks/table_pagination'; // FLAKY: https://github.com/elastic/kibana/issues/165760 // FLAKY: https://github.com/elastic/kibana/issues/165645 -describe('Export timelines', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => { +describe('Export timelines', { tags: ['@ess', '@serverless'] }, () => { before(() => { cleanKibana();