kibana/test/interpreter_functional
Mikhail Shustov e7d8ea3927
Extract src/core in a separate TS project (#76785)
* break dependency on data plugin TS code

* move global typings to @kbn/utility-types

* import types from @kbn/utility-types

* remove type dependency on plugins

* add intermediate js files to break dependency on outter TS code

* temp type declaration for query-string

* declare src/core project

* export types to reference in the built d.ts files

* reference core project

* move jest types out of kbn/utility-types due to a clash with mocha types

* fix wrong es_kuery path and ts project paths

* reference core from packages consuming it

* x-pack & oss should use the same lodash version

* Revert "x-pack & oss should use the same lodash version"

This reverts commit 79cec5781e.

* use the same lodash version

* fix @types/lodash TS2300: Duplicate identifier error

* fix wrong imports

* update docs

* update docs

* add a comment why file is needed
2020-09-15 12:41:27 +02:00
..
plugins/kbn_tp_run_pipeline Extract src/core in a separate TS project (#76785) 2020-09-15 12:41:27 +02:00
screenshots/baseline filtering (making it work with expressions) (#55351) 2020-02-03 09:01:34 -05:00
snapshots adds metric_vis_renderer (#57694) 2020-08-20 06:40:08 +02:00
test_suites/run_pipeline Type safe browser.executeAsync (#69018) 2020-06-15 15:32:08 +02: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