kibana/test/interpreter_functional
Uladzislau Lasitsa c5d4d9e68a
Migrate test plugins ⇒ NP (kbn_tp_run_pipeline) (#64780)
* Migrated kbn_tp_run_pipeline to the new Platform

* Updated config.

* Added tsconfig.

* Updated index.ts for tests

* updated tsconfig

* Updated typescript task

* fixed tests

* Fixed tests

* updated comment

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-07 10:12:46 +03:00
..
plugins/kbn_tp_run_pipeline Migrate test plugins ⇒ NP (kbn_tp_run_pipeline) (#64780) 2020-05-07 10:12:46 +03:00
screenshots/baseline filtering (making it work with expressions) (#55351) 2020-02-03 09:01:34 -05:00
snapshots Expressions refactor (#54342) 2020-02-11 19:47:36 +01:00
test_suites/run_pipeline Migrate test plugins ⇒ NP (kbn_tp_run_pipeline) (#64780) 2020-05-07 10:12:46 +03:00
config.ts Migrate test plugins ⇒ NP (kbn_tp_run_pipeline) (#64780) 2020-05-07 10:12:46 +03: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