0bf62cbf3e
* update to eui 21.0.1 * most changes needed for search bar ts changes * Passing types * snapshots * jest tests * Removed IQuery placeholder types * Updated functional test to only look at table headers with content * Moved 'filters' definition around in api docs * Update types * update snapshot * typo * Move DATA_FRAME_TASK_STATE enum to its own file to fix x-pack functional test config imports * merge public api 'changes' Co-authored-by: patrykkopycinski <patryk.kopycinski@elastic.co> Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com> |
||
---|---|---|
.. | ||
plugins/kbn_tp_run_pipeline | ||
screenshots/baseline | ||
snapshots | ||
test_suites/run_pipeline | ||
config.ts | ||
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