Add synthetics e2e test README file. (#139522)

This commit is contained in:
Justin Kambic 2022-08-25 18:11:03 -04:00 committed by GitHub
parent 568c260369
commit e7870e3003
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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.