kibana/test/interpreter_functional
Anton Dosov cfcac347e6
Enable expression service screenshot tests (#50472)
* Enables interpreter screenshot tests which were disabled in #42842
* Refactors tests to use expression service
* Fixes edge cases in expression service render:
** fixes swallowing of promise rejections from renderer.render()
** fixes swallowing of errors which emitted sync in render()
* Adds default value to colorRange type, as otherwise it fails in runtime if not passed
2019-11-21 10:57:50 +01:00
..
plugins/kbn_tp_run_pipeline Enable expression service screenshot tests (#50472) 2019-11-21 10:57:50 +01:00
screenshots/baseline Enable expression service screenshot tests (#50472) 2019-11-21 10:57:50 +01:00
snapshots Enable expression service screenshot tests (#50472) 2019-11-21 10:57:50 +01:00
test_suites/run_pipeline Enable expression service screenshot tests (#50472) 2019-11-21 10:57:50 +01:00
config.js [ftr] convert remaining JS to TS (#35110) 2019-04-18 12:06:24 -07:00
README.md updating tagcloud interpreter func arguments (#33773) 2019-04-04 14:33:38 +02: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.js 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.js

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

Writing tests

Look into test_suites/run_pipeline/basic.js for examples

to update baseline screenshots and snapshots run with:

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