kibana/test/plugin_functional
Spencer 3abe125f57
[6.x] [ftr] wrap remote in browser service (#26394) (#26444)
Backports the following commits to 6.x:
 - [ftr] wrap remote in browser service  (#26394)
2018-11-29 16:11:36 -08:00
..
plugins Add href option in addition to onClick (#25233) (#25640) 2018-11-14 11:50:30 -05:00
test_suites [6.x] [ftr] wrap remote in browser service (#26394) (#26444) 2018-11-29 16:11:36 -08:00
config.js fixing updating editor state (#22869) (#24483) 2018-10-24 14:51:04 +02:00
README.md

Plugin Functional Tests

This folder contains plugin functional tests, i.e. functional tests that should be executed against a Kibana instance with specific test plugins available.

To add a plugin to the instance, just place the plugin folder in the plugins directory.

Add new test suites into the test_suites folder and reference them from the config.js file. These test suites work the same as regular functional test except that they are executed against a Kibana with all plugins (from the plugins directory) installed.

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/plugin_functional/config.js
# Start a test run
node scripts/functional_test_runner.js --config test/plugin_functional/config.js

Run Kibana with a test plugin

In case you want to start Kibana with one of the test plugins (e.g. for developing the test plugin), you can just run:

yarn start --plugin-path=test/plugin_functional/plugins/<plugin_folder>