Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
szwarckonrad committed Apr 21, 2023
1 parent 5157dda commit 7c13a7e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 7c13a7e

Please sign in to comment.