mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add synthetics e2e test README file. (#139522)
This commit is contained in:
parent
568c260369
commit
e7870e3003
1 changed files with 15 additions and 0 deletions
15
x-pack/plugins/synthetics/e2e/README.md
Normal file
15
x-pack/plugins/synthetics/e2e/README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
## How to run these tests
|
||||
|
||||
These tests rely on the Kibana functional test runner. There is a Kibana config in this directory, and a dedicated
|
||||
script for standing up the test server.
|
||||
|
||||
### Start the server
|
||||
|
||||
From `~/x-pack/plugins/synthetics/scripts`, run `node e2e.js --server`. Wait for the server to startup. It will provide you
|
||||
with an example run command when it finishes.
|
||||
|
||||
### Run the tests
|
||||
|
||||
From this directory, `~/x-pack/plugins/synthetics/e2e`, you can now run `node ../../../../scripts/functional_test_runner --config synthetics_run.ts`.
|
||||
|
||||
In addition to the usual flags like `--grep`, you can also specify `--no-headless` in order to view your tests as you debug/develop.
|
Loading…
Add table
Add a link
Reference in a new issue