fix lint error

This commit is contained in:
Jonathan Budzenski 2024-02-12 16:31:26 -06:00
parent 5562cf4d8f
commit 3b08e74e58

View file

@ -91,127 +91,131 @@ import {
// Failing: See https://github.com/elastic/kibana/issues/176757
// Failing: See https://github.com/elastic/kibana/issues/176759
// Failing: See https://github.com/elastic/kibana/issues/176758
describe.skip('top-level navigation common to all pages in the Security app', { tags: '@ess' }, () => {
beforeEach(() => {
login();
visitWithTimeRange(TIMELINES_URL);
});
describe.skip(
'top-level navigation common to all pages in the Security app',
{ tags: '@ess' },
() => {
beforeEach(() => {
login();
visitWithTimeRange(TIMELINES_URL);
});
it('navigates to the Dashboards landing page', () => {
navigateFromHeaderTo(DASHBOARDS);
cy.url().should('include', DASHBOARDS_URL);
});
it('navigates to the Dashboards landing page', () => {
navigateFromHeaderTo(DASHBOARDS);
cy.url().should('include', DASHBOARDS_URL);
});
it('navigates to the Overview page', () => {
navigateFromHeaderTo(OVERVIEW);
cy.url().should('include', OVERVIEW_URL);
});
it('navigates to the Overview page', () => {
navigateFromHeaderTo(OVERVIEW);
cy.url().should('include', OVERVIEW_URL);
});
it('navigates to the Detection & Response page', () => {
navigateFromHeaderTo(DETECTION_RESPONSE);
cy.url().should('include', DETECTION_AND_RESPONSE_URL);
});
it('navigates to the Detection & Response page', () => {
navigateFromHeaderTo(DETECTION_RESPONSE);
cy.url().should('include', DETECTION_AND_RESPONSE_URL);
});
it('navigates to the Entity Analytics page', () => {
navigateFromHeaderTo(ENTITY_ANALYTICS);
cy.url().should('include', ENTITY_ANALYTICS_URL);
});
it('navigates to the Entity Analytics page', () => {
navigateFromHeaderTo(ENTITY_ANALYTICS);
cy.url().should('include', ENTITY_ANALYTICS_URL);
});
it('navigates to the Kubernetes page', () => {
navigateFromHeaderTo(KUBERNETES);
cy.url().should('include', KUBERNETES_URL);
});
it('navigates to the Kubernetes page', () => {
navigateFromHeaderTo(KUBERNETES);
cy.url().should('include', KUBERNETES_URL);
});
it('navigates to the CSP dashboard page', () => {
navigateFromHeaderTo(CSP_DASHBOARD);
cy.url().should('include', CSP_DASHBOARD_URL);
});
it('navigates to the CSP dashboard page', () => {
navigateFromHeaderTo(CSP_DASHBOARD);
cy.url().should('include', CSP_DASHBOARD_URL);
});
it('navigates to the Alerts page', () => {
navigateFromHeaderTo(ALERTS);
cy.url().should('include', ALERTS_URL);
});
it('navigates to the Alerts page', () => {
navigateFromHeaderTo(ALERTS);
cy.url().should('include', ALERTS_URL);
});
it('navigates to the Findings page', () => {
navigateFromHeaderTo(CSP_FINDINGS);
cy.url().should('include', CSP_FINDINGS_URL);
});
it('navigates to the Findings page', () => {
navigateFromHeaderTo(CSP_FINDINGS);
cy.url().should('include', CSP_FINDINGS_URL);
});
it('navigates to the Timelines page', () => {
navigateFromHeaderTo(TIMELINES);
cy.url().should('include', TIMELINES_URL);
});
it('navigates to the Timelines page', () => {
navigateFromHeaderTo(TIMELINES);
cy.url().should('include', TIMELINES_URL);
});
it('navigates to the Explore landing page', () => {
navigateFromHeaderTo(EXPLORE);
cy.url().should('include', EXPLORE_URL);
});
it('navigates to the Explore landing page', () => {
navigateFromHeaderTo(EXPLORE);
cy.url().should('include', EXPLORE_URL);
});
it('navigates to the Hosts page', () => {
navigateFromHeaderTo(HOSTS);
cy.url().should('include', HOSTS_URL);
});
it('navigates to the Hosts page', () => {
navigateFromHeaderTo(HOSTS);
cy.url().should('include', HOSTS_URL);
});
it('navigates to the Network page', () => {
navigateFromHeaderTo(NETWORK);
cy.url().should('include', NETWORK_URL);
});
it('navigates to the Network page', () => {
navigateFromHeaderTo(NETWORK);
cy.url().should('include', NETWORK_URL);
});
it('navigates to the Users page', () => {
navigateFromHeaderTo(USERS);
cy.url().should('include', USERS_URL);
});
it('navigates to the Users page', () => {
navigateFromHeaderTo(USERS);
cy.url().should('include', USERS_URL);
});
it('navigates to the Indicators page', () => {
navigateFromHeaderTo(INDICATORS);
cy.url().should('include', INDICATORS_URL);
});
it('navigates to the Indicators page', () => {
navigateFromHeaderTo(INDICATORS);
cy.url().should('include', INDICATORS_URL);
});
it('navigates to the Rules page', () => {
navigateFromHeaderTo(RULES);
cy.url().should('include', RULES_MANAGEMENT_URL);
});
it('navigates to the Rules page', () => {
navigateFromHeaderTo(RULES);
cy.url().should('include', RULES_MANAGEMENT_URL);
});
it('navigates to the Exceptions page', () => {
navigateFromHeaderTo(EXCEPTIONS);
cy.url().should('include', EXCEPTIONS_URL);
});
it('navigates to the Exceptions page', () => {
navigateFromHeaderTo(EXCEPTIONS);
cy.url().should('include', EXCEPTIONS_URL);
});
it('navigates to the Cases page', () => {
navigateFromHeaderTo(CASES);
cy.url().should('include', CASES_URL);
});
it('navigates to the Cases page', () => {
navigateFromHeaderTo(CASES);
cy.url().should('include', CASES_URL);
});
it('navigates to the Manage landing page', () => {
navigateFromHeaderTo(SETTINGS);
cy.url().should('include', MANAGE_URL);
});
it('navigates to the Manage landing page', () => {
navigateFromHeaderTo(SETTINGS);
cy.url().should('include', MANAGE_URL);
});
it('navigates to the Endpoints page', () => {
navigateFromHeaderTo(ENDPOINTS);
cy.url().should('include', ENDPOINTS_URL);
});
it('navigates to the Policies page', () => {
navigateFromHeaderTo(POLICIES);
cy.url().should('include', POLICIES_URL);
});
it('navigates to the Trusted Apps page', () => {
navigateFromHeaderTo(TRUSTED_APPS);
cy.url().should('include', TRUSTED_APPS_URL);
});
it('navigates to the Event Filters page', () => {
navigateFromHeaderTo(EVENT_FILTERS);
cy.url().should('include', EVENT_FILTERS_URL);
});
it('navigates to the Blocklist page', () => {
navigateFromHeaderTo(BLOCKLIST);
cy.url().should('include', BLOCKLIST_URL);
});
it('navigates to the CSP Benchmarks page', () => {
navigateFromHeaderTo(CSP_BENCHMARKS);
cy.url().should('include', CSP_BENCHMARKS_URL);
});
});
it('navigates to the Endpoints page', () => {
navigateFromHeaderTo(ENDPOINTS);
cy.url().should('include', ENDPOINTS_URL);
});
it('navigates to the Policies page', () => {
navigateFromHeaderTo(POLICIES);
cy.url().should('include', POLICIES_URL);
});
it('navigates to the Trusted Apps page', () => {
navigateFromHeaderTo(TRUSTED_APPS);
cy.url().should('include', TRUSTED_APPS_URL);
});
it('navigates to the Event Filters page', () => {
navigateFromHeaderTo(EVENT_FILTERS);
cy.url().should('include', EVENT_FILTERS_URL);
});
it('navigates to the Blocklist page', () => {
navigateFromHeaderTo(BLOCKLIST);
cy.url().should('include', BLOCKLIST_URL);
});
it('navigates to the CSP Benchmarks page', () => {
navigateFromHeaderTo(CSP_BENCHMARKS);
cy.url().should('include', CSP_BENCHMARKS_URL);
});
}
);
describe('Kibana navigation to all pages in the Security app ', { tags: '@ess' }, () => {
beforeEach(() => {