Skip to content

Commit 474fc44

Browse files
[SIEM] Cypress renaming (#68659)
* updates naming in integration * updates naming in objects * updates naming in screens * updates naming in support * updates naming in tasks * fixes failing test Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent e8cc6b4 commit 474fc44

23 files changed

Lines changed: 31 additions & 31 deletions

x-pack/plugins/security_solution/cypress/integration/events_viewer.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
resetFields,
3333
waitsForEventsToBeLoaded,
3434
} from '../tasks/hosts/events';
35-
import { clearSearchBar, kqlSearch } from '../tasks/siem_header';
35+
import { clearSearchBar, kqlSearch } from '../tasks/security_header';
3636

3737
import { HOSTS_PAGE } from '../urls/navigation';
3838

x-pack/plugins/security_solution/cypress/integration/fields_browser.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
resetFields,
2929
} from '../tasks/fields_browser';
3030
import { loginAndWaitForPage } from '../tasks/login';
31-
import { openTimeline } from '../tasks/siem_main';
31+
import { openTimeline } from '../tasks/security_main';
3232
import { openTimelineFieldsBrowser, populateTimeline } from '../tasks/timeline';
3333

3434
import { HOSTS_PAGE } from '../urls/navigation';

x-pack/plugins/security_solution/cypress/integration/inspect.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
*/
66

77
import {
8-
INSPECT_HOSTS_BUTTONS_IN_SIEM,
8+
INSPECT_HOSTS_BUTTONS_IN_SECURITY,
99
INSPECT_MODAL,
10-
INSPECT_NETWORK_BUTTONS_IN_SIEM,
10+
INSPECT_NETWORK_BUTTONS_IN_SECURITY,
1111
} from '../screens/inspect';
1212

1313
import { closesModal, openStatsAndTables } from '../tasks/inspect';
1414
import { loginAndWaitForPage } from '../tasks/login';
15-
import { openTimeline } from '../tasks/siem_main';
15+
import { openTimeline } from '../tasks/security_main';
1616
import {
1717
executeTimelineKQL,
1818
openTimelineInspectButton,
@@ -30,7 +30,7 @@ describe('Inspect', () => {
3030
closesModal();
3131
});
3232

33-
INSPECT_HOSTS_BUTTONS_IN_SIEM.forEach((table) =>
33+
INSPECT_HOSTS_BUTTONS_IN_SECURITY.forEach((table) =>
3434
it(`inspects the ${table.title}`, () => {
3535
openStatsAndTables(table);
3636
cy.get(INSPECT_MODAL).should('be.visible');
@@ -46,7 +46,7 @@ describe('Inspect', () => {
4646
closesModal();
4747
});
4848

49-
INSPECT_NETWORK_BUTTONS_IN_SIEM.forEach((table) =>
49+
INSPECT_NETWORK_BUTTONS_IN_SECURITY.forEach((table) =>
5050
it(`inspects the ${table.title}`, () => {
5151
openStatsAndTables(table);
5252
cy.get(INSPECT_MODAL).should('be.visible');

x-pack/plugins/security_solution/cypress/integration/ml_conditional_links.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
import { KQL_INPUT } from '../screens/siem_header';
7+
import { KQL_INPUT } from '../screens/security_header';
88

99
import { loginAndWaitForPageWithoutDateRange } from '../tasks/login';
1010

x-pack/plugins/security_solution/cypress/integration/navigation.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
* or more contributor license agreements. Licensed under the Elastic License;
44
* you may not use this file except in compliance with the Elastic License.
55
*/
6-
import { DETECTIONS, HOSTS, NETWORK, OVERVIEW, TIMELINES } from '../screens/siem_header';
6+
import { DETECTIONS, HOSTS, NETWORK, OVERVIEW, TIMELINES } from '../screens/security_header';
77

88
import { loginAndWaitForPage } from '../tasks/login';
9-
import { navigateFromHeaderTo } from '../tasks/siem_header';
9+
import { navigateFromHeaderTo } from '../tasks/security_header';
1010

1111
import { TIMELINES_PAGE } from '../urls/navigation';
1212

13-
describe('top-level navigation common to all pages in the SIEM app', () => {
13+
describe('top-level navigation common to all pages in the Security app', () => {
1414
before(() => {
1515
loginAndWaitForPage(TIMELINES_PAGE);
1616
});

x-pack/plugins/security_solution/cypress/integration/overview.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { OVERVIEW_PAGE } from '../urls/navigation';
1313

1414
describe('Overview Page', () => {
1515
before(() => {
16-
cy.stubSIEMapi('overview');
16+
cy.stubSecurityApi('overview');
1717
loginAndWaitForPage(OVERVIEW_PAGE);
1818
});
1919

x-pack/plugins/security_solution/cypress/integration/pagination.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { openAuthentications, openUncommonProcesses } from '../tasks/hosts/main'
1212
import { waitForUncommonProcessesToBeLoaded } from '../tasks/hosts/uncommon_processes';
1313
import { loginAndWaitForPage } from '../tasks/login';
1414
import { goToFirstPage, goToThirdPage } from '../tasks/pagination';
15-
import { refreshPage } from '../tasks/siem_header';
15+
import { refreshPage } from '../tasks/security_header';
1616

1717
import { HOSTS_PAGE_TAB_URLS } from '../urls/navigation';
1818

x-pack/plugins/security_solution/cypress/integration/timeline_data_providers.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
} from '../tasks/hosts/all_hosts';
2020

2121
import { loginAndWaitForPage } from '../tasks/login';
22-
import { openTimeline } from '../tasks/siem_main';
22+
import { openTimeline } from '../tasks/security_main';
2323
import { createNewTimeline } from '../tasks/timeline';
2424

2525
import { HOSTS_PAGE } from '../urls/navigation';

x-pack/plugins/security_solution/cypress/integration/timeline_flyout_button.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { TIMELINE_FLYOUT_HEADER, TIMELINE_NOT_READY_TO_DROP_BUTTON } from '../sc
88

99
import { dragFirstHostToTimeline, waitForAllHostsToBeLoaded } from '../tasks/hosts/all_hosts';
1010
import { loginAndWaitForPage } from '../tasks/login';
11-
import { openTimeline, openTimelineIfClosed } from '../tasks/siem_main';
11+
import { openTimeline, openTimelineIfClosed } from '../tasks/security_main';
1212
import { createNewTimeline } from '../tasks/timeline';
1313

1414
import { HOSTS_PAGE } from '../urls/navigation';

x-pack/plugins/security_solution/cypress/integration/timeline_search_or_filter.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { SERVER_SIDE_EVENT_COUNT } from '../screens/timeline';
88

99
import { loginAndWaitForPage } from '../tasks/login';
10-
import { openTimeline } from '../tasks/siem_main';
10+
import { openTimeline } from '../tasks/security_main';
1111
import { executeTimelineKQL } from '../tasks/timeline';
1212

1313
import { HOSTS_PAGE } from '../urls/navigation';

0 commit comments

Comments
 (0)