Fork of the e2e-tests from Cloudron https://git.cloudron.io/iamthefij/e2e-test
Go to file
Johannes Zellner c6d5c43a79 Increase io buffers for child processes 2016-01-20 20:36:56 +01:00
logs make e2e parallel 2015-11-13 20:15:36 -08:00
test Run e2e tests on 1gb droplets, the 512mb ones are underpowered by now 2016-01-19 11:29:01 +01:00
.gitignore Add .gitignore 2015-06-14 21:39:55 -07:00
.jshintrc Add .jshintrc 2015-06-16 16:33:12 +02:00
README.md add not on why the aws keys exist 2015-12-17 13:43:47 -08:00
appstore.js add custom domain test 2015-12-17 13:58:49 -08:00
cloudron.js Adjust test to new user creation api 2016-01-19 11:29:01 +01:00
common.js We now use secrets/ instead of keys/ repo 2015-11-29 17:54:27 +01:00
deploy.json do not copy ssh keys (they are rotated now) 2015-11-19 10:32:14 -08:00
e2etestrunner.js do not send stderr in email 2015-11-19 13:49:13 -08:00
mailer.js Compare version info instead of timestamp 2015-07-27 18:12:31 -07:00
package.json add aws-sdk 2015-12-17 14:38:00 -08:00
parallel_test.sh catch errors in cleanup script 2016-01-14 13:47:35 -08:00
prepareDeployTarget.sh do not copy ssh keys (they are rotated now) 2015-11-19 10:32:14 -08:00
shell.js Increase io buffers for child processes 2016-01-20 20:36:56 +01:00

README.md

To run manually on CI

cd ~/app
export BOX_VERSION=<version_to_test>

pm2-run --ecosystem ../ecosystem.json --env staging --cmd "npm test"

                OR

pm2-run --ecosystem ../ecosystem.json --env staging --cmd ./parallel_test.sh

To run specific test on CI

cd ~/app
export BOX_VERSION=<version_to_test>
pm2-run --ecosystem ../ecosystem.json --env staging --cmd "DEBUG=superagent-sync,e2e:* DEBUG_COLORS=true ./node_modules/.bin/mocha --bail test/new-user-test.js"

AWS Keys

AWS_STAGING_ACCESS_KEY and AWS_STAGING_SECRET_KEY exist for the release tool to make a new release.