Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[SIEM] Adds 'Configure connector' Cypress test" #65297

Merged
merged 1 commit into from
May 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.