Fork of the e2e-tests from Cloudron https://git.cloudron.io/iamthefij/e2e-test
Go to file
Johannes Zellner e5b7cd5345 tell linter we use esnext 2016-06-30 15:21:56 +02:00
logs make e2e parallel 2015-11-13 20:15:36 -08:00
test Initial ec2 selfhosting test 2016-06-30 15:21:56 +02:00
.gitignore Add .gitignore 2015-06-14 21:39:55 -07:00
.jshintrc tell linter we use esnext 2016-06-30 15:21:56 +02:00
README.md add imap-probe to DEBUG 2016-06-23 14:57:51 -05:00
appstore.js do not keep retrying (when deleting cloudron in after.js) 2016-06-07 21:10:09 -07:00
cloudron.js more escaping 2016-06-24 13:01:16 -05:00
common.js escape the email 2016-06-24 12:38:26 -05: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
imap-probe.js debug the reason why the message did not match 2016-06-24 12:21:29 -05:00
mailer.js have same text 2016-06-24 11:46:08 -05:00
package.json add smtp packages 2016-06-24 00:04:53 -05:00
parallel_test.sh add imap-probe to DEBUG 2016-06-23 14:57:51 -05: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=imap-probe,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.