* Bind non primary time fields to timepicker * Fix typescript argument types * Allow auto interval on all fields * Remove lens_auto_date function * Fix existing jest tests and add test todos * Remove lens_auto_date from esarchives * Add TimeBuckets jest tests * Fix typo in esarchiver * Address review feedback * Make code a bit better readable * Fix default time field retrieval * Fix TS errors * Add esaggs interpreter tests * Change public API doc of data plugin * Add toExpression tests for index pattern datasource * Add migration stub * Add full migration * Fix naming inconsistency in esaggs * Fix naming issue * Revert archives to un-migrated version * Ignore expressions that are already migrated * test: remove extra spaces and timeField=\\"products.created_on\\"} to timeField=\"products.created_on\"} * Rename all timeField -> timeFields * Combine duplicate functions * Fix boolean error and add test for it * Commit API changes Co-authored-by: Wylie Conlon <wylieconlon@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co> |
||
---|---|---|
.. | ||
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