This project, and it's related TestArmada projects, will no longer be supported. No further work from the owners will be done, and no PRs will be reviewed.
Executor for Magellan to run nightwatchjs tests in local environment.
PLEASE NOTE: Executor is only supported by magellan version 10.0.0 or higher.
- It resolves
nightwatch.json
, provide nightwatch execution environment to magellan - It runs nightwatch test by forking it as magellan child process
Please follow the steps
npm install testarmada-magellan-local-executor --save
- add following block to your
magellan.json
(if there isn't amagellan.json
please create one under your folder root)
"executors": [
"testarmada-magellan-local-executor"
]
./node_modules/.bin/magellan --help
to see if you can see the following content printed out
Executor-specific (testarmada-magellan-local-executor)
--local_browser=browsername Run tests in chrome, firefox, etc (default: phantomjs).
--local_browsers=b1,b2,.. Run multiple browsers in parallel.
--local_list_browsers List the available browsers configured.
Congratulations, you're all set.
To run test in local chrome
$ ./node_modules/.bin/magellan --local_browser chrome --test xxx
To run tests in local chrome and firefox
$ ./node_modules/.bin/magellan --local_browsers chrome,firefox --test xxx
Documentation in this project is licensed under Creative Commons Attribution 4.0 International License. Full details available at https://creativecommons.org/licenses/by/4.0