Skip to content

Commit

Permalink
adds test that action vars are rendered for alert action parms (#60310)
Browse files Browse the repository at this point in the history
resolves #60083
  • Loading branch information
pmuellr committed Mar 17, 2020
1 parent 59551e7 commit 35d6a0a
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 35d6a0a

Please sign in to comment.