Skip to content

Commit

Permalink
[DOCS] Automate transform health rule screenshot (#177629)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored Mar 13, 2024
1 parent 3e2162f commit 50889e0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
await testSubjects.click('.server-log-alerting-ActionTypeSelectOption');
await transform.alerting.openAddRuleVariable();
await commonScreenshots.takeScreenshot('transform-alert-actions', screenshotDirectories);
await transform.testExecution.logTestStep('set summary action frequency and take screenshot');
const actionFrequency = await testSubjects.find('summaryOrPerRuleSelect');
await actionFrequency.click();
const actionSummary = await testSubjects.find('actionNotifyWhen-option-summary');
await actionSummary.click();
await commonScreenshots.takeScreenshot(
'transform-alert-summary-actions',
screenshotDirectories
);
await transform.alerting.clickCancelSaveRuleButton();
});
});
Expand Down

0 comments on commit 50889e0

Please sign in to comment.