mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
parent
a0840d723f
commit
cec670aa05
1 changed files with 9 additions and 5 deletions
|
@ -49,10 +49,14 @@ In one shell, from **~/kibana/x-pack**:
|
|||
In another shell, from **~kibana/x-pack**:
|
||||
`node ../scripts/functional_test_runner.js --grep="{TEST_NAME}"`.
|
||||
|
||||
### API tests
|
||||
#### API tests
|
||||
|
||||
In one shell, from **~/kibana/x-pack**:
|
||||
`node scripts/functional_tests-server.js`
|
||||
|
||||
In another shell, from **~kibana/x-pack**:
|
||||
If instead you need to run API tests, start up the test server and then in another shell, from **~kibana/x-pack**:
|
||||
`node ../scripts/functional_test_runner.js --config test/api_integration/config.js --grep="{TEST_NAME}"`.
|
||||
|
||||
You can access the functional test server's Kibana at `http://localhost:5620/`.
|
||||
|
||||
You can login with username `elastic` and password `changeme` by default.
|
||||
|
||||
If you want to freeze a UI or API test you can include an async call like `await new Promise(r => setTimeout(r, 1000 * 60))`
|
||||
to freeze the execution for 60 seconds if you need to click around or check things in the state that is loaded.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue