-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Observability] [UX] add synthetics e2e documentation (#139749)
- Loading branch information
1 parent
a77f8ff
commit 286a7c9
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/observability/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/observability/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ux/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/ux/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. |