kibana/test/interpreter_functional
Daniil fbfc50920b
[TileMap][RegionMap] Implement custom renderers and expression builders (#84775)
* Convert to typescript

* Move related files directly into plugin

* Implement toExpressionAst

* Remove build_pipeline dedicated fn

* Async import converter

* Create a custom renderer

* Remove ExprVis instance usage in maps visualizations

* Use uiState updates

* Create wrapper component

* Update rendering

* Create region map expression renderer

* Remove resize subscription

* Fix custom visualization expression

* Update interpreter functional tests

* Use types from geojson

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-14 10:45:02 +03:00
..
plugins/kbn_tp_run_pipeline inspector table adapter cleanup (#84232) 2020-12-17 12:14:07 +01:00
screenshots/baseline [TileMap][RegionMap] Implement custom renderers and expression builders (#84775) 2021-01-14 10:45:02 +03:00
snapshots [TileMap][RegionMap] Implement custom renderers and expression builders (#84775) 2021-01-14 10:45:02 +03:00
test_suites/run_pipeline [TileMap][RegionMap] Implement custom renderers and expression builders (#84775) 2021-01-14 10:45:02 +03:00
config.ts apply prettier styles 2020-05-22 09:08:58 +02:00
README.md Expressions refactor (#54342) 2020-02-11 19:47:36 +01:00

Interpreter Functional Tests

This folder contains interpreter functional tests.

Add new test suites into the test_suites folder and reference them from the config.ts file. These test suites work the same as regular functional test.

Run the test

To run these tests during development you can use the following commands:

# Start the test server (can continue running)
node scripts/functional_tests_server.js --config test/interpreter_functional/config.ts

# Start a test run
node scripts/functional_test_runner.js --config test/interpreter_functional/config.ts

Writing tests

Look into test_suites/run_pipeline/basic.ts for examples

to update baseline screenshots and snapshots run with:

node scripts/functional_test_runner.js --config test/interpreter_functional/config.ts --updateBaselines