Skip to content

Commit

Permalink
Update functional test doc (#41276) (#41462)
Browse files Browse the repository at this point in the history
  • Loading branch information
liza-mae committed Jul 18, 2019
1 parent f8aed87 commit 5258914
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/development/core/development-functional-tests.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ There are three ways to run the tests depending on your goals:
** Description: Runs tests against instances of Elasticsearch & Kibana started some other way (like Elastic Cloud, or an instance you are managing in some other way).
** just executes the functional tests
** url, credentials, etc. for Elasticsearch and Kibana are specified via environment variables
** Here's an example that runs against an Elastic Cloud instance. Note that you should run the same branch of tests as the version of Kibana you're testing.
** Here's an example that runs against an Elastic Cloud instance. Note that you must run the same branch of tests as the version of Kibana you're testing.
+
["source","shell"]
----------
Expand Down Expand Up @@ -61,6 +61,20 @@ export TEST_ES_PASS=<password>
node scripts/functional_test_runner
----------

** Selenium tests can be run in headless mode by setting the environment variable below. Unset this variable to show the browser.
+
["source", "shell"]
----------
export TEST_BROWSER_HEADLESS=1
----------

** When running against cloud deployment, some tests are not applicable use --exclude-tag to skip those tests. An example shell file can be found at: {blob}test/scripts/jenkins_kibana.sh[test/scripts/jenkins_kibana.sh]
+
["source", "shell"]
----------
node scripts/functional_test_runner --exclude-tag skipCloud
----------

[float]
===== More about `node scripts/functional_test_runner`

Expand Down

0 comments on commit 5258914

Please sign in to comment.