Skip to content

Commit

Permalink
Skip recently added tests for updating restricted fields in prebuilt …
Browse files Browse the repository at this point in the history
…rules
  • Loading branch information
banderror committed Oct 11, 2024
1 parent e4dec39 commit 41016be
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ export default ({ getService }: FtrProviderContext) => {
});
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', author: ['elastic'] }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ export default ({ getService }: FtrProviderContext) => {
]);
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', author: ['elastic'] }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ export default ({ getService }: FtrProviderContext) => {
});
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', license: 'elastic' }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ export default ({ getService }: FtrProviderContext) => {
]);
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', author: ['elastic'] }),
Expand Down

0 comments on commit 41016be

Please sign in to comment.