Skip to content

Commit

Permalink
[Security Solution] Unskip misc rule management Serverless Cypress te…
Browse files Browse the repository at this point in the history
…sts (elastic#168305)

**Addresses:** elastic#161540

## Summary

This PR unskips miscelanious (not falling in one category but unskipping
each one separately is overkill) rule management Serverless Cypress
tests

- `maintenance_window_callout.cy.ts`
- `related_integrations.cy.ts`
- `rule_delete.cy.ts`
- `rule_snoozing.cy.ts`
 
## Flaky test runner


https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3405
150 runs 🟢
  • Loading branch information
maximpn authored Oct 9, 2023
1 parent 43bd2dc commit b7116b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ import { login } from '../../../../tasks/login';
import { visit } from '../../../../tasks/navigation';
import { RULES_MANAGEMENT_URL } from '../../../../urls/rules_management';

// TODO: https://github.com/elastic/kibana/issues/161540
describe(
'Maintenance window callout on Rule Management page',
{ tags: ['@ess', '@serverless', '@skipInServerless'] },
{ tags: ['@ess', '@serverless'] },
() => {
let maintenanceWindowId = '';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ import {
waitForPageToBeLoaded,
} from '../../../../tasks/rule_details';

// TODO: https://github.com/elastic/kibana/issues/161540
describe('Related integrations', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Related integrations', { tags: ['@ess', '@serverless'] }, () => {
const DATA_STREAM_NAME = 'logs-related-integrations-test';
const PREBUILT_RULE_NAME = 'Prebuilt rule with related integrations';
const RULE_RELATED_INTEGRATIONS: IntegrationDefinition[] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { createRule, findAllRules } from '../../../../../tasks/api_calls/rules';
import { deleteAlertsAndRules } from '../../../../../tasks/common';
import { login } from '../../../../../tasks/login';

describe('Rule deletion', { tags: ['@ess', '@serverless', '@skipInServerless'] }, () => {
describe('Rule deletion', { tags: ['@ess', '@serverless'] }, () => {
const testRules = [
getNewRule({ rule_id: 'rule1', name: 'Rule 1', enabled: false }),
getNewRule({ rule_id: 'rule2', name: 'Rule 2', enabled: false }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ import { TOOLTIP } from '../../../../../screens/common';

const RULES_TO_IMPORT_FILENAME = 'cypress/fixtures/7_16_rules.ndjson';

// TODO: https://github.com/elastic/kibana/issues/161540
// Flaky in serverless tests
describe('rule snoozing', { tags: ['@ess', '@serverless', '@skipInServerless'] }, () => {
describe('rule snoozing', { tags: ['@ess', '@serverless'] }, () => {
before(() => {
cleanKibana();
});
Expand Down

0 comments on commit b7116b1

Please sign in to comment.