Fork of the e2e-tests from Cloudron
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Girish Ramakrishnan d0bc8b3408 Fix version 6 years ago
logs make e2e parallel 7 years ago
test checkForUpdates 6 years ago
.gitignore Add .gitignore 8 years ago
.jshintrc tell linter we use esnext 7 years ago
LICENSE Add license 6 years ago add imap-probe to DEBUG 7 years ago
appstore.js use appstore.login 6 years ago
cloudron.js no callback needed 6 years ago
common.js Fix version 6 years ago
deploy.json Add e2e_selfhost ssh keys 6 years ago
digitalocean.js Add missing file 6 years ago
e2etestrunner.js Give it some more time 6 years ago
imap-probe.js try harder for ec2 boxes 6 years ago
mailer.js better debugs 6 years ago
package.json fix new-user-test 6 years ago Enable the selfhosting with filesystem test 6 years ago Put the ssh keys in the correct folder 6 years ago
shell.js Also bump up the buffer memory 6 years ago
tcpbomb.js add tcpbomb.js 6 years ago

To run manually on CI

cd ~/app
export BOX_VERSION=<version_to_test>

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


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

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.