Skip to content

Commit

Permalink
test just part of the message to avoid updates (#83703) (#84914)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Drengenberg authored Dec 3, 2020
1 parent 039dc67 commit afeff9e
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 afeff9e

Please sign in to comment.