From 7c13a7ee32c9d408cfb56d0535f907b21891c209 Mon Sep 17 00:00:00 2001 From: "konrad.szwarc" Date: Fri, 21 Apr 2023 11:59:56 +0200 Subject: [PATCH] cleanup --- .../public/management/cypress/e2e/endpoint/isolate.cy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint/isolate.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint/isolate.cy.ts index 53e6932da147f..12a974776a38c 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint/isolate.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint/isolate.cy.ts @@ -6,7 +6,7 @@ */ import type { Agent } from '@kbn/fleet-plugin/common'; -import { APP_CASES_PATH } from '../../../../../common/constants'; +import { APP_CASES_PATH, APP_ENDPOINTS_PATH } from '../../../../../common/constants'; import { closeAllToasts } from '../../tasks/close_all_toasts'; import { checkEndpointListForIsolatedHosts, @@ -67,7 +67,7 @@ describe('Isolate command', () => { }); it('should allow filtering endpoint by Isolated status', () => { - cy.visit('/app/security/administration/endpoints'); + cy.visit(APP_ENDPOINTS_PATH); closeAllToasts(); checkEndpointListForIsolatedHosts(false); @@ -135,7 +135,7 @@ describe('Isolate command', () => { }); it('should have generated endpoint and rule', () => { - cy.visit('/app/security/administration/endpoints'); + cy.visit(APP_ENDPOINTS_PATH); cy.contains(endpointHostname).should('exist'); toggleRuleOffAndOn(ruleName); @@ -219,7 +219,7 @@ describe('Isolate command', () => { }); it('should have generated endpoint and rule', () => { - cy.visit('/app/security/administration/endpoints'); + cy.visit(APP_ENDPOINTS_PATH); cy.contains(endpointHostname).should('exist'); toggleRuleOffAndOn(ruleName);