mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[DOCS] Automate Opsgenie connector screenshots (#165265)
This commit is contained in:
parent
68f2adf1b1
commit
4d47b49f10
4 changed files with 15 additions and 0 deletions
|
@ -15,6 +15,7 @@ or as needed when you're creating a rule. For example:
|
|||
|
||||
[role="screenshot"]
|
||||
image::management/connectors/images/opsgenie-connector.png[Opsgenie connector]
|
||||
// NOTE: This is an autogenerated screenshot. Do not edit it directly.
|
||||
|
||||
[float]
|
||||
[[opsgenie-connector-configuration]]
|
||||
|
@ -37,6 +38,7 @@ as you're creating or editing the connector in {kib}. For example:
|
|||
|
||||
[role="screenshot"]
|
||||
image::management/connectors/images/opsgenie-params-test.png[Opsgenie params test]
|
||||
// NOTE: This is an autogenerated screenshot. Do not edit it directly.
|
||||
|
||||
The Opsgenie connector supports two types of actions: Create alert and Close alert. The properties supported for each action are different because Opsgenie defines different properties for each operation.
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 177 KiB |
Binary file not shown.
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 142 KiB |
|
@ -186,5 +186,18 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await commonScreenshots.takeScreenshot('pagerduty-params-test', screenshotDirectories);
|
||||
await testSubjects.click('euiFlyoutCloseButton');
|
||||
});
|
||||
|
||||
it('opsgenie connector screenshots', async () => {
|
||||
await pageObjects.common.navigateToApp('connectors');
|
||||
await pageObjects.header.waitUntilLoadingHasFinished();
|
||||
await actions.common.openNewConnectorForm('opsgenie');
|
||||
await testSubjects.setValue('nameInput', 'Opsgenie test connector');
|
||||
await testSubjects.setValue('secrets.apiKey-input', 'testkey');
|
||||
await commonScreenshots.takeScreenshot('opsgenie-connector', screenshotDirectories);
|
||||
await testSubjects.click('create-connector-flyout-save-test-btn');
|
||||
await testSubjects.click('toastCloseButton');
|
||||
await commonScreenshots.takeScreenshot('opsgenie-params-test', screenshotDirectories);
|
||||
await testSubjects.click('euiFlyoutCloseButton');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue