Skip to content

Commit

Permalink
test just part of the message to avoid updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Drengenberg committed Nov 18, 2020
1 parent 37636f3 commit 792d982
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ export default ({ getService, getPageObjects }) => {
await appsMenu.clickLink('Stack Monitoring');
});

it('should show banner Help us improve Kibana and Elasticsearch', async () => {
const expectedMessage = `Help us improve the Elastic Stack
To learn about how usage data helps us manage and improve our products and services, see our Privacy Statement. To stop collection, disable usage data here.
Dismiss`;
it('should show banner Help us improve the Elastic Stack', async () => {
const actualMessage = await PageObjects.monitoring.getWelcome();
log.debug(`X-Pack message = ${actualMessage}`);
expect(actualMessage).to.be(expectedMessage);
expect(actualMessage).to.contain('Help us improve the Elastic Stack');
});
});
};

0 comments on commit 792d982

Please sign in to comment.