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 4 years ago
logs make e2e parallel 6 years ago
test checkForUpdates 4 years ago
.gitignore Add .gitignore 6 years ago
.jshintrc tell linter we use esnext 5 years ago
LICENSE Add license 5 years ago add imap-probe to DEBUG 5 years ago
appstore.js use appstore.login 4 years ago
cloudron.js no callback needed 4 years ago
common.js Fix version 4 years ago
deploy.json Add e2e_selfhost ssh keys 4 years ago
digitalocean.js Add missing file 4 years ago
e2etestrunner.js Give it some more time 4 years ago
imap-probe.js try harder for ec2 boxes 5 years ago
mailer.js better debugs 5 years ago
package.json fix new-user-test 4 years ago Enable the selfhosting with filesystem test 4 years ago Put the ssh keys in the correct folder 4 years ago
shell.js Also bump up the buffer memory 5 years ago
tcpbomb.js add tcpbomb.js 4 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.