testing selenium js / mocha + docker + etc...
This repo defines the automated tests suites for OneStop. The git url is: https://bitbucket.aer.ca/scm/on/e2e.git
run npm install
to install and packages. Optionally, you can run npm update to update your npm packages if required.
the tests can be run by by using an npm run
command within the scripts section of package.json
the usage is npm run <script name> -- --env=xxx
where xxx can be dev, tst, uat or tra.
i.e.: to run the pipeline baseline script in TST would be: npm run e2e:application:pipeline-baseline -- -- env=tst
Optionally, you can pass a --username and --password values if you want to run as a non-default user.
There are 3 grunt tasks in this repo.
grunt
: runs a line of code count and jshintgrunt jshint
: runs jshint alone.grunt deploy
: runs sloc, jshint and deploys to git while incrementing the semantic versioning number