kibana/test/interpreter_functional
Spencer 808b44f2c1
[kbn/test] move types/ftr into src (#99555)
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-17 09:51:53 -07:00
..
plugins/kbn_tp_run_pipeline [visualizations] Reduce page load bundle to under 100kB (#98302) 2021-05-03 13:22:40 +03:00
screenshots/baseline [theme] default to v8 theme (#94370) 2021-03-17 09:49:39 -07:00
snapshots [Visualizations] Changes in custom visualizations support (#88317) 2021-01-26 10:57:09 +03:00
test_suites/run_pipeline kql, lucene and timerange functions (#93043) 2021-03-17 16:57:06 +01:00
config.ts [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
README.md

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