From 792d982266dfe21892d74cbb716c083f754e89b2 Mon Sep 17 00:00:00 2001 From: Lee Drengenberg Date: Wed, 18 Nov 2020 12:53:46 -0600 Subject: [PATCH] test just part of the message to avoid updates --- .../apps/telemetry/_telemetry.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/x-pack/test/stack_functional_integration/apps/telemetry/_telemetry.js b/x-pack/test/stack_functional_integration/apps/telemetry/_telemetry.js index 09698675f0678..5cfc88ec9bce1 100644 --- a/x-pack/test/stack_functional_integration/apps/telemetry/_telemetry.js +++ b/x-pack/test/stack_functional_integration/apps/telemetry/_telemetry.js @@ -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'); }); }); };