This commit is contained in:
Liza K 2021-04-27 16:45:47 +03:00
parent a74c55ba6f
commit 2c136b0dd1

View file

@ -121,7 +121,7 @@ export default function ({ getPageObjects, getService }) {
});
it('should not apply query to source and apply query to join', async () => {
const joinResponse = await PageObjects.maps.getResponse(
const { rawResponse: joinResponse } = await PageObjects.maps.getResponse(
'meta_for_geo_shapes*.runtime_shape_name'
);
expect(joinResponse.aggregations.join.buckets.length).to.equal(2);
@ -138,7 +138,7 @@ export default function ({ getPageObjects, getService }) {
});
it('should apply query to join request', async () => {
const joinResponse = await PageObjects.maps.getResponse(
const { rawResponse: joinResponse } = await PageObjects.maps.getResponse(
'meta_for_geo_shapes*.runtime_shape_name'
);
expect(joinResponse.aggregations.join.buckets.length).to.equal(1);