mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
# Backport This will backport the following commits from `main` to `8.7`: - [[DOCS] Automate rule-flyout-rule-conditions.png (#155461)](https://github.com/elastic/kibana/pull/155461) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-04-21T14:51:28Z","message":"[DOCS] Automate rule-flyout-rule-conditions.png (#155461)","sha":"a0aae1aa2325afc52a4df9e16ade49a73fab83dc","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","v8.8.0","v8.7.2"],"number":155461,"url":"https://github.com/elastic/kibana/pull/155461","mergeCommit":{"message":"[DOCS] Automate rule-flyout-rule-conditions.png (#155461)","sha":"a0aae1aa2325afc52a4df9e16ade49a73fab83dc"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155461","number":155461,"mergeCommit":{"message":"[DOCS] Automate rule-flyout-rule-conditions.png (#155461)","sha":"a0aae1aa2325afc52a4df9e16ade49a73fab83dc"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
This commit is contained in:
parent
cc16f95eca
commit
5d87ea710b
3 changed files with 19 additions and 0 deletions
|
@ -49,6 +49,7 @@ Each rule type provides its own way of defining the conditions to detect, but an
|
|||
|
||||
[role="screenshot"]
|
||||
image::images/rule-flyout-rule-conditions.png[UI for defining rule conditions on an index threshold rule,500]
|
||||
// NOTE: This is an autogenerated screenshot. Do not edit it directly.
|
||||
|
||||
All rules must have a check interval, which defines how often to evaluate the rule conditions. Checks are queued; they run as close to the defined value as capacity allows.
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 181 KiB |
|
@ -114,5 +114,23 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
1024
|
||||
);
|
||||
});
|
||||
|
||||
it('rule conditions screenshots', async () => {
|
||||
await pageObjects.common.navigateToApp('triggersActions');
|
||||
await pageObjects.header.waitUntilLoadingHasFinished();
|
||||
await testSubjects.setValue('ruleSearchField', ruleName);
|
||||
const actionPanel = await testSubjects.find('collapsedItemActions');
|
||||
await actionPanel.click();
|
||||
const editRuleMenu = await testSubjects.find('editRule');
|
||||
await editRuleMenu.click();
|
||||
await testSubjects.scrollIntoView('intervalInput');
|
||||
await pageObjects.header.waitUntilLoadingHasFinished();
|
||||
await commonScreenshots.takeScreenshot(
|
||||
'rule-flyout-rule-conditions',
|
||||
screenshotDirectories,
|
||||
1400,
|
||||
1500
|
||||
);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue