Update AutomationNotes.MD

This commit is contained in:
LeeDr 2015-10-28 14:23:00 -05:00 committed by Joe Fleming
parent 2fb2e4bcbd
commit eaaf01d1d2

View file

@ -5,23 +5,31 @@
* https://theintern.github.io/leadfoot/Element.html
* https://github.com/elastic/kibana-qa
## Running tests locally with your existing (and already running) ElasticSearch, Kibana, and Selenium Server:
(set your es and kibana ports in test/intern.js)
node_modules/intern/bin/intern-runner.js config=test/intern
## Running tests using npm task:
(set es port to 9220 and kibana port to 5620 in test/intern.js)
(currently only uses Firefox browser)
(the Selenium server it starts currently only supports Firefox browser)
npm run test:ui
* npm run test:ui
The task above takes a little time to start the servers. We can also start the servers and leave them running, and then run the tests separately;
npm run test:ui:server
* npm run test:ui:server
* npm run test:ui:runner
## Running tests locally with your existing (and already running) ElasticSearch, Kibana, and Selenium Server:
(set your es and kibana ports in test/intern.js)
(in this case you can configure your Selenium server to also support Chrome and/or IE browsers)
* npm run test:ui:runner
Or without npm;
* node_modules/intern/bin/intern-runner.js config=test/intern
npm run test:ui:runner
## General notes:
* Using Page Objects pattern (https://theintern.github.io/intern/#writing-functional-test)