Skip to content

Commit

Permalink
test just part of the message to avoid updates (#83703)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Drengenberg authored Nov 19, 2020
1 parent b263145 commit 441b473
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 441b473

Please sign in to comment.