Skip to content

Commit

Permalink
adds test that action vars are rendered for alert action parms (elast…
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuellr authored Mar 17, 2020
1 parent 5142d8c commit 72c450a
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await loggingMessageInput.click();
await loggingMessageInput.clearValue();
await loggingMessageInput.type('test message');
// TODO: uncomment variables test when server API will be ready
// await testSubjects.click('slackAddVariableButton');
// const variableMenuButton = await testSubjects.find('variableMenuButton-0');
// await variableMenuButton.click();
await testSubjects.click('slackAddVariableButton');
const variableMenuButton = await testSubjects.find('variableMenuButton-0');
await variableMenuButton.click();
await find.clickByCssSelector('[data-test-subj="saveAlertButton"]');
const toastTitle = await pageObjects.common.closeToast();
expect(toastTitle).to.eql(`Saved '${alertName}'`);
Expand Down

0 comments on commit 72c450a

Please sign in to comment.