mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
[EDR Workflows][Osquery] Skip failing cypress tests in the MKI (#209067)
Added the @skipInServerlessMKI label to 3 test files that are currently failing in MKI. Tracking ticket - https://github.com/elastic/security-team/issues/11726
This commit is contained in:
parent
b94475c642
commit
516903e2a4
3 changed files with 91 additions and 87 deletions
|
@ -61,7 +61,7 @@ describe('Add to Cases', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('security', { tags: ['@ess', '@serverless'] }, () => {
|
describe('security', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
|
||||||
let caseId: string;
|
let caseId: string;
|
||||||
let caseTitle: string;
|
let caseTitle: string;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,10 @@ import { getAdvancedButton } from '../../screens/integrations';
|
||||||
import { loadSavedQuery, cleanupSavedQuery } from '../../tasks/api_fixtures';
|
import { loadSavedQuery, cleanupSavedQuery } from '../../tasks/api_fixtures';
|
||||||
import { ServerlessRoleName } from '../../support/roles';
|
import { ServerlessRoleName } from '../../support/roles';
|
||||||
|
|
||||||
describe('ALL - Live Query run custom and saved', { tags: ['@ess', '@serverless'] }, () => {
|
describe(
|
||||||
|
'ALL - Live Query run custom and saved',
|
||||||
|
{ tags: ['@ess', '@serverless', '@skipInServerlessMKI'] },
|
||||||
|
() => {
|
||||||
let savedQueryId: string;
|
let savedQueryId: string;
|
||||||
let savedQueryName: string;
|
let savedQueryName: string;
|
||||||
|
|
||||||
|
@ -78,9 +81,9 @@ describe('ALL - Live Query run custom and saved', { tags: ['@ess', '@serverless'
|
||||||
cy.getBySel(RESULTS_TABLE).within(() => {
|
cy.getBySel(RESULTS_TABLE).within(() => {
|
||||||
cy.getBySel(RESULTS_TABLE_BUTTON).should('exist');
|
cy.getBySel(RESULTS_TABLE_BUTTON).should('exist');
|
||||||
});
|
});
|
||||||
cy.get('[data-gridcell-column-index="1"][data-test-subj="dataGridHeaderCell-message"]').should(
|
cy.get(
|
||||||
'exist'
|
'[data-gridcell-column-index="1"][data-test-subj="dataGridHeaderCell-message"]'
|
||||||
);
|
).should('exist');
|
||||||
cy.get(
|
cy.get(
|
||||||
'[data-gridcell-column-index="2"][data-test-subj="dataGridHeaderCell-osquery.days.number"]'
|
'[data-gridcell-column-index="2"][data-test-subj="dataGridHeaderCell-osquery.days.number"]'
|
||||||
)
|
)
|
||||||
|
@ -112,4 +115,5 @@ describe('ALL - Live Query run custom and saved', { tags: ['@ess', '@serverless'
|
||||||
cy.contains('Live query details');
|
cy.contains('Live query details');
|
||||||
cy.contains('select * from users;');
|
cy.contains('select * from users;');
|
||||||
});
|
});
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
|
|
@ -22,7 +22,7 @@ import {
|
||||||
} from '../../tasks/api_fixtures';
|
} from '../../tasks/api_fixtures';
|
||||||
import type { ServerlessRoleName } from '../../support/roles';
|
import type { ServerlessRoleName } from '../../support/roles';
|
||||||
|
|
||||||
describe(`T1 and T2 analysts`, { tags: ['@ess', '@serverless'] }, () => {
|
describe(`T1 and T2 analysts`, { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
|
||||||
['t1_analyst', 't2_analyst'].forEach((role: string) => {
|
['t1_analyst', 't2_analyst'].forEach((role: string) => {
|
||||||
describe(`${role}- READ + runSavedQueries `, () => {
|
describe(`${role}- READ + runSavedQueries `, () => {
|
||||||
let savedQueryName: string;
|
let savedQueryName: string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue