mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ResponseOps][Alerting] Failed test x-pack/plugins/triggers_actions_ui/public/application/lib/transformActionVariables (#147579)
## Summary Resolves https://github.com/elastic/kibana/issues/147573 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This commit is contained in:
parent
b74e7f9b82
commit
182c05e22e
1 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,8 @@ const expectedTransformResult = [
|
|||
name: 'alert.actionGroupName',
|
||||
},
|
||||
{
|
||||
description: 'A flag on the alert that indicates whether the alert is flapping.',
|
||||
description:
|
||||
'A flag on the alert that indicates whether the alert status is changing repeatedly.',
|
||||
name: 'alert.flapping',
|
||||
},
|
||||
{
|
||||
|
@ -142,8 +143,7 @@ const expectedParamsTransformResult = (withBraces: boolean = false) => [
|
|||
},
|
||||
];
|
||||
|
||||
// FAILING: https://github.com/elastic/kibana/issues/147573
|
||||
describe.skip('transformActionVariables', () => {
|
||||
describe('transformActionVariables', () => {
|
||||
test('should return correct variables when no state, no context, no params provided', async () => {
|
||||
const alertType = getAlertType({ context: [], state: [], params: [] });
|
||||
expect(transformActionVariables(alertType.actionVariables)).toEqual(expectedTransformResult);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue