diff --git a/test/interpreter_functional/screenshots/baseline/partial_test_1.png b/test/interpreter_functional/screenshots/baseline/partial_test_1.png index 8e2a52bf44c1b..f9367ffefdf13 100644 Binary files a/test/interpreter_functional/screenshots/baseline/partial_test_1.png and b/test/interpreter_functional/screenshots/baseline/partial_test_1.png differ diff --git a/test/interpreter_functional/screenshots/baseline/partial_test_2.png b/test/interpreter_functional/screenshots/baseline/partial_test_2.png index 8e2a52bf44c1b..376d2b54bd08d 100644 Binary files a/test/interpreter_functional/screenshots/baseline/partial_test_2.png and b/test/interpreter_functional/screenshots/baseline/partial_test_2.png differ diff --git a/test/interpreter_functional/screenshots/baseline/partial_test_3.png b/test/interpreter_functional/screenshots/baseline/partial_test_3.png index e6b9001a5ca28..ee9182a654d1e 100644 Binary files a/test/interpreter_functional/screenshots/baseline/partial_test_3.png and b/test/interpreter_functional/screenshots/baseline/partial_test_3.png differ diff --git a/test/interpreter_functional/test_suites/run_pipeline/basic.js b/test/interpreter_functional/test_suites/run_pipeline/basic.js index aa35750dbfe70..8ebb65f9a0a12 100644 --- a/test/interpreter_functional/test_suites/run_pipeline/basic.js +++ b/test/interpreter_functional/test_suites/run_pipeline/basic.js @@ -82,7 +82,7 @@ export default function ({ getService, updateBaselines }) { // if we want to do multiple different tests using the same data, or reusing a part of expression its // possible to retrieve the intermediate result and reuse it in later expressions - describe.skip('reusing partial results', () => { + describe('reusing partial results', () => { it ('does some screenshot comparisons', async () => { const expression = `kibana | kibana_context | esaggs index='logstash-*' aggConfigs='[ {"id":"1","enabled":true,"type":"count","schema":"metric","params":{}}, @@ -94,16 +94,17 @@ export default function ({ getService, updateBaselines }) { // we reuse that response to render 3 different charts and compare screenshots with baselines const tagCloudExpr = - `tagcloud metric={visdimension 1 format="number"} bucket={visdimension 0}'`; + `tagcloud metric={visdimension 1 format="number"} bucket={visdimension 0}`; await expectExpression('partial_test_1', tagCloudExpr, context).toMatchScreenshot(); const metricExpr = - `metricVis metric={visdimension 1 format="number"} bucket={visdimension 0}'`; + `metricVis metric={visdimension 1 format="number"} bucket={visdimension 0}`; await expectExpression('partial_test_2', metricExpr, context).toMatchScreenshot(); - const regionMapExpr = - `regionmap visConfig='{"metric":{"accessor":1,"format":{"id":"number"}},"bucket":{"accessor":0}}'`; - await expectExpression('partial_test_3', regionMapExpr, context).toMatchScreenshot(); + // todo: regionmap doesn't correctly signal when its done rendering (base layer might not yet be loaded) + // const regionMapExpr = + // `regionmap visConfig='{"metric":{"accessor":1,"format":{"id":"number"}},"bucket":{"accessor":0}}'`; + // await expectExpression('partial_test_3', regionMapExpr, context).toMatchScreenshot(); }); }); });