-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional tests for execution context propagation in alerting and task manager plugins #111179
Functional tests for execution context propagation in alerting and task manager plugins #111179
Conversation
Pinging @elastic/kibana-core (Team:Core) |
}, | ||
}); | ||
|
||
alerting.registerType({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The plugin registers a custom alert. Test suit will create an instance of this alert.
|
||
export default function ({ loadTestFile }: FtrProviderContext) { | ||
describe('Execution context', function () { | ||
this.tags('ciGroup1'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I separated tests to avoid skipping both in case of flakiness
.send({ | ||
enabled: true, | ||
name: 'abc', | ||
tags: ['foo'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
💔 Backport failed
To backport manually run: |
…sk manager plugins (elastic#111179) * move execution context tests to x-pack folder * add execution context tests for alerts and tasks * cleanup tests * remove obsolete test folder * use ToolingLog instead of console.log # Conflicts: # scripts/functional_tests.js # x-pack/scripts/functional_tests.js
…sk manager plugins (#111179) (#112066) * move execution context tests to x-pack folder * add execution context tests for alerts and tasks * cleanup tests * remove obsolete test folder * use ToolingLog instead of console.log # Conflicts: # scripts/functional_tests.js # x-pack/scripts/functional_tests.js
Summary
Functionals tests for Alerts and Task manager to propagate execution context data.