Skip to content

Commit

Permalink
Revert "[SIEM] Adds 'Configure connector' Cypress test (#64807)" (#65297
Browse files Browse the repository at this point in the history
)

This reverts commit 5c2fb4c.
  • Loading branch information
Tyler Smalley authored May 5, 2020
1 parent e02350c commit f26292e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 154 deletions.
47 changes: 0 additions & 47 deletions x-pack/plugins/siem/cypress/integration/cases_connectors.spec.ts

This file was deleted.

14 changes: 0 additions & 14 deletions x-pack/plugins/siem/cypress/objects/case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ export interface TestCase {
reporter: string;
}

export interface Connector {
connectorName: string;
URL: string;
username: string;
password: string;
}

const caseTimeline: Timeline = {
title: 'SIEM test',
description: 'description',
Expand All @@ -34,10 +27,3 @@ export const case1: TestCase = {
timeline: caseTimeline,
reporter: 'elastic',
};

export const serviceNowConnector: Connector = {
connectorName: 'New connector',
URL: 'https://www.test.service-now.com',
username: 'Username Name',
password: 'password',
};
2 changes: 0 additions & 2 deletions x-pack/plugins/siem/cypress/screens/all_cases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ export const ALL_CASES_TAGS = (index: number) => {
};

export const ALL_CASES_TAGS_COUNT = '[data-test-subj="options-filter-popover-button-Tags"]';

export const EDIT_EXTERNAL_CONNECTION = '[data-test-subj="configure-case-button"]';
30 changes: 0 additions & 30 deletions x-pack/plugins/siem/cypress/screens/configure_cases.ts

This file was deleted.

10 changes: 1 addition & 9 deletions x-pack/plugins/siem/cypress/tasks/all_cases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

import {
ALL_CASES_NAME,
ALL_CASES_CREATE_NEW_CASE_BTN,
EDIT_EXTERNAL_CONNECTION,
} from '../screens/all_cases';
import { ALL_CASES_NAME, ALL_CASES_CREATE_NEW_CASE_BTN } from '../screens/all_cases';

export const goToCreateNewCase = () => {
cy.get(ALL_CASES_CREATE_NEW_CASE_BTN).click({ force: true });
Expand All @@ -17,7 +13,3 @@ export const goToCreateNewCase = () => {
export const goToCaseDetails = () => {
cy.get(ALL_CASES_NAME).click({ force: true });
};

export const goToEditExternalConnection = () => {
cy.get(EDIT_EXTERNAL_CONNECTION).click({ force: true });
};
52 changes: 0 additions & 52 deletions x-pack/plugins/siem/cypress/tasks/configure_cases.ts

This file was deleted.

0 comments on commit f26292e

Please sign in to comment.