Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Mar 21, 2020
1 parent 886d75c commit 7ab39b0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

await pageObjects.common.closeToast();

await createAlert();
await pageObjects.common.navigateToApp('triggersActions');
const searchResults = await pageObjects.triggersActionsUI.getAlertsList();
expect(searchResults.length).to.eql(1);
await pageObjects.triggersActionsUI.searchAlerts(createdAlert.name);
const searchResultsAfterDelete = await pageObjects.triggersActionsUI.getAlertsList();
expect(searchResultsAfterDelete.length).to.eql(0);
});
});
};

0 comments on commit 7ab39b0

Please sign in to comment.