Skip to content

Commit

Permalink
fix number_of_generated_actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ersin-erdal committed Apr 19, 2022
1 parent 9bfb570 commit 71acc21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export default function createCappedActionsTests({ getService }: FtrProviderCont
const [executionEvent] = await getRuleEvents(createdRule.id, 1);

expect(
executionEvent?.kibana?.alert?.rule?.execution?.metrics?.number_of_scheduled_actions
).to.be.eql(3, 'all the scheduled actions');
executionEvent?.kibana?.alert?.rule?.execution?.metrics?.number_of_generated_actions
).to.be.eql(3, 'all the generated actions');
expect(
executionEvent?.kibana?.alert?.rule?.execution?.metrics?.number_of_triggered_actions
).to.be.eql(1, 'only 1 action was triggered');
Expand Down

0 comments on commit 71acc21

Please sign in to comment.