mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add a simple set of instructions on running and developing e2e tests for UX dashboard. (#134371)
This commit is contained in:
parent
1a702ab45f
commit
fba72a240a
1 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,14 @@
|
|||
# Documentation for UX UI developers
|
||||
|
||||
https://docs.elastic.dev/kibana-dev-docs/welcome
|
||||
https://docs.elastic.dev/kibana-dev-docs/welcome
|
||||
|
||||
## Running E2E Tests
|
||||
|
||||
The tests are managed via the `scripts/e2e.js` file. This script accepts numerous options.
|
||||
|
||||
From the kibana root you can run `node x-pack/plugins/ux/scripts/e2e.js` to simply stand up the stack, load data, and run the tests.
|
||||
|
||||
If you are developing a new test, it is better to stand up the stack in one shell and load data/run tests in a second session. You can do this by running:
|
||||
|
||||
- `node ./x-pack/plugins/ux/scripts/e2e.js --server`
|
||||
- `node ./x-pack/plugins/ux/scripts/e2e.js --runner`, you can also specify `--grep "{TEST_NAME}"` to run a specific series of tests
|
Loading…
Add table
Add a link
Reference in a new issue