kibana/test/interpreter_functional
Yaroslav Kuznietsov 0058764851
[MetricVis] Move the expression function and renderer to a separate plugin. (#113427) (#114384)
* Added expressionMetricVis plugin.

* splitted metric vis_type and expression.

* Fixed check errors.

* Fixed plugin docs.

* updated snapshots.

* Added code owner to expressionMetricVis.

* updated chart docs.

* Changed the `Metric` type export.

* Added storybook.

* Added bucket story.

* Added without label story.

* Added "with custom font size" story.

* Added other stories.

* Added DatatableColumn accessors.

* Replaced Metric with MetricOptions.

* Fixed MetricOptions.any

* updated the check of min/max existence.

* Updated function/renderer names.

metricRenderer -> metricVisRenderer
metricFunction -> metricVisFunction

* updated snapshot.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
#	src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js
#	src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js
2021-10-08 04:28:29 -04:00
..
plugins/kbn_tp_run_pipeline [7.x] Make owner attribute required on kibana.json (#108231) (#110215) 2021-08-31 16:19:52 -04:00
screenshots/baseline [MetricVis] Move the expression function and renderer to a separate plugin. (#113427) (#114384) 2021-10-08 04:28:29 -04:00
snapshots [MetricVis] Move the expression function and renderer to a separate plugin. (#113427) (#114384) 2021-10-08 04:28:29 -04:00
test_suites/run_pipeline skip flaky suite. #107028 2021-09-23 10:23:31 -05:00
config.ts [ftr] rework ciGroup validation to remove JOBS.yml and avoid duplication (#109149) (#109324) 2021-08-23 15:07:12 -04: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