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