From 201078be7b764fff8566e971e64b81796798d84a Mon Sep 17 00:00:00 2001 From: Aaron Caldwell Date: Thu, 24 Jun 2021 12:53:15 -0600 Subject: [PATCH] A couple more test updates to account for data update --- x-pack/test/functional/apps/maps/joins.js | 3 ++- x-pack/test/functional/es_archives/maps/data/data.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/test/functional/apps/maps/joins.js b/x-pack/test/functional/apps/maps/joins.js index a0472e271bb49..28aa054b8f7bc 100644 --- a/x-pack/test/functional/apps/maps/joins.js +++ b/x-pack/test/functional/apps/maps/joins.js @@ -13,6 +13,7 @@ const EXPECTED_JOIN_VALUES = { bravo: 3, charlie: 12, tango: undefined, + zulu: undefined, }; const VECTOR_SOURCE_ID = 'n1t6f'; @@ -79,7 +80,7 @@ export default function ({ getPageObjects, getService }) { expect(mapboxStyle.sources[VECTOR_SOURCE_ID].data.features.length).to.equal(10); mapboxStyle.sources.n1t6f.data.features.forEach(({ properties }) => { - if (properties.name === 'tango') { + if (properties.name === 'tango' || properties.name === 'zulu') { //left join, which means we won't rescale joins that do not match expect(properties.hasOwnProperty(JOIN_PROPERTY_NAME)).to.be(false); } else { diff --git a/x-pack/test/functional/es_archives/maps/data/data.json b/x-pack/test/functional/es_archives/maps/data/data.json index 414e08b8d1d7c..1d84a6d48083d 100644 --- a/x-pack/test/functional/es_archives/maps/data/data.json +++ b/x-pack/test/functional/es_archives/maps/data/data.json @@ -165,7 +165,7 @@ ], "type": "polygon" }, - "name": "feature-to-delete", + "name": "zulu", "prop1": 9 } }