Skip to content

Commit

Permalink
[Observability] [UX] add synthetics e2e documentation (#139749)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiqueclarke authored Sep 14, 2022
1 parent a77f8ff commit 286a7c9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions x-pack/plugins/observability/e2e/README.md
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.
15 changes: 15 additions & 0 deletions x-pack/plugins/ux/e2e/README.md
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.

0 comments on commit 286a7c9

Please sign in to comment.