mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[DOCS] Automate PagerDuty connector screenshots (#165413)
## Summary This PR automates two screenshots in https://www.elastic.co/guide/en/kibana/master/pagerduty-action-type.html
This commit is contained in:
parent
ccfb713ee4
commit
33dcda7b70
4 changed files with 17 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/pagerduty-connector.png[PagerDuty connector]
|
||||
// NOTE: This is an autogenerated screenshot. Do not edit it directly.
|
||||
|
||||
[float]
|
||||
[[pagerduty-connector-configuration]]
|
||||
|
@ -63,6 +64,7 @@ as you're creating or editing the connector in {kib}. For example:
|
|||
|
||||
[role="screenshot"]
|
||||
image::management/connectors/images/pagerduty-params-test.png[PagerDuty params test]
|
||||
// NOTE: This is an autogenerated screenshot. Do not edit it directly.
|
||||
|
||||
PagerDuty actions have the following properties.
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 140 KiB |
Binary file not shown.
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 129 KiB |
|
@ -171,5 +171,20 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await commonScreenshots.takeScreenshot('webhook-params-test', screenshotDirectories);
|
||||
await testSubjects.click('euiFlyoutCloseButton');
|
||||
});
|
||||
|
||||
it('pagerduty connector screenshots', async () => {
|
||||
await pageObjects.common.navigateToApp('connectors');
|
||||
await pageObjects.header.waitUntilLoadingHasFinished();
|
||||
await actions.common.openNewConnectorForm('pagerduty');
|
||||
await testSubjects.setValue('nameInput', 'PagerDuty test connector');
|
||||
await testSubjects.setValue('pagerdutyApiUrlInput', 'https://dev-test.pagerduty.com/');
|
||||
await testSubjects.setValue('pagerdutyRoutingKeyInput', 'testkey');
|
||||
await commonScreenshots.takeScreenshot('pagerduty-connector', screenshotDirectories);
|
||||
await testSubjects.click('create-connector-flyout-save-test-btn');
|
||||
await testSubjects.click('toastCloseButton');
|
||||
await testSubjects.setValue('eventActionSelect', 'trigger');
|
||||
await commonScreenshots.takeScreenshot('pagerduty-params-test', screenshotDirectories);
|
||||
await testSubjects.click('euiFlyoutCloseButton');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue