kibana/test/interpreter_functional
Stratoula Kalafateli 815c3cee6d
[Tagcloud] Replaces current implementation with elastic-charts (#100017) (#102150)
* WIP - Replace tagcloud with es-charts wordcloud

* Cleanup and add unit tests

* Fix interpreter test

* Update all tagcloud snapshots

* Partial fix tagcloud test

* Fix some other functional tests, add migration script, update sample data

* Replace getColor with getCategorixalColor

* Fix functional test

* Apply clickhandler event for filtering by clicking the word

* Fix weight calculation

* Add a unit test and fix functional

* Change the cursor to pointer

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 04:36:41 -04:00
..
plugins/kbn_tp_run_pipeline [visualizations] Reduce page load bundle to under 100kB (#98302) (#99028) 2021-05-03 05:52:00 -07:00
screenshots/baseline [TileMap][RegionMap] Implement custom renderers and expression builders (#84775) (#88308) 2021-01-14 16:09:05 +03:00
snapshots [Tagcloud] Replaces current implementation with elastic-charts (#100017) (#102150) 2021-06-15 04:36:41 -04:00
test_suites/run_pipeline [7.x] [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) (#101676) 2021-06-08 22:45:04 -04:00
config.ts [7.x] [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) (#101676) 2021-06-08 22:45:04 -04:00
README.md [7.x] Expressions refactor (#54342) (#57366) 2020-02-12 09:26:48 +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