summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-10-26[bug] make nicknym return key dataRuben Pollan
There was a mismatch on the return values of Nicknym class and the expectations. As most of the code was expecting an OpenPGPKey, but it was returning the json as it came from the nickserver. Now is just returning the key data.
2017-10-06[feat] use bonafide Provider object as a singletonRuben Pollan
There was common situations where two provider instances where running in parallel. And was creating weird errors (like getting wrong api_uri) because the bootstrap deferreds were global but the Provider objects not. I don't like much singletons, but I think now is simpler than before. - Resolves: #9073
2017-09-21[test] VPN e2e tests now against ci.leap.se0.10rc2Varac
Relates to #8918
2017-09-20debugKali Kaneko
(add some extra line to force tests to run again)
2017-09-20[feat] check if there are newest configuration filesKali Kaneko
here we port the if-modified-since conditional mechanism, so that we only write the config if it is newer than whan we have. we also add a line with the status code to the logs, so that it's easier to debug. note that the 'configs.json' file is never returning 304. - Resolves: #8773
2017-09-13[bug] send UIDNEXT on selectKali Kaneko
node-mail chokes if we don't.
2017-08-31[feat] list vpn gateways in the order that they are going to be usedRuben Pollan
2017-08-30[tests] apply dns workaround for functional testsKali Kaneko
2017-08-30[tests] apply dns workaroundKali Kaneko
2017-08-30[tests] increase timeout on vpn onKali Kaneko
2017-08-30[tests] reuse tox virtualenv for e2e/functionalKali Kaneko
2017-08-30[tests] add another demo gatewayKali Kaneko
2017-08-30[bug] assert vpn management folder existsKali Kaneko
2017-08-30[tests] use another geoip api to avoid json decode problemsKali Kaneko
2017-08-30[tests] add root-switch as dns workaround for tests on CIKali Kaneko
2017-08-30[tests] do not fail if helper installed in debian pathKali Kaneko
2017-08-30[tests] fix check-ip scriptKali Kaneko
2017-08-30[tests] workaround some errors while running testsKali Kaneko
2017-08-30[tests] prepare to run behave against bundleKali Kaneko
2017-08-30[tests] increase timeoutKali Kaneko
2017-08-30[tests] Check egress IP for VPN stepsVarac
2017-08-30[tests] fix test case typoKali Kaneko
2017-08-30[tests] fix path for data filesKali Kaneko
2017-08-30[refactor] re-add retries for connecting to managementKali Kaneko
2017-08-30[refactor] integrate new management protocolKali Kaneko
2017-08-30[feature] add twisted protocol for handling openvpn managementKali Kaneko
2017-08-25[bug] replace content-type after removing the signatureRuben Pollan
- Resolves: #9003
2017-08-14[tests] pep8 test_gateways.pyazul
tests were failing because of pep8 issues
2017-08-11[feature] allow manual gateway selection for vpnKali Kaneko
For now, the way to select a gateway is to add a section in bitmaskd.cfg: [vpn_prefs] locations = ["frankfurt", "seattle__wa"] countries = ["DE", "US"] Note that the location indication has priority over country code. This will be exposed by the UI in release 0.11 - Resolves: #8855
2017-08-11[feature] automatic vpn gateway selection, based on timezoneKali Kaneko
This is a first approach to automatic gateways selection. More things are missing: - allow manual selection, by location or country code. - take the hemisphere into account. - expose the selected gw to the api/cli but overall seems this is a good approach to make 0.10 release usable in terms of vpn. - Resolves: #8804
2017-07-21[tests] Succeed VPN test if helper files existsVarac
2017-07-20[test] keep artifacts inside the project dirAzul
2017-07-20[test] enable and check vpnAzul
2017-07-20[test] minor: only set env["HOME"] onceAzul
2017-07-20[tests] clearer message if test user not definedKali Kaneko
2017-07-20[doc] Tests inside docker with gitlab-runnerVarac
2017-07-20[test] keep config files from failing testsAzul
2017-07-20[test] Add basic functional login testVarac
* Move todo list to https://0xacab.org/leap/bitmask-dev/issues/8929 * use bundled pysqlcipher - debian package has not been fixed yet. * reset bitmaskd for each scenario so they are isolated * run functional tests on CI * moved e2e tests before the bundle * add test_functional_graphical Make target * Install chromedriver in docker image * add screenshots as artifacts on failure * run chrome without sandbox for docker Tests were failing on CI with chrome sandbox: https://0xacab.org/leap/bitmask-dev/-/jobs/15196 Used this workaround: https://stackoverflow.com/questions/28364012/webdriver-exception-chrome-not-reachable/28949227#28949227 - Resolves: #8929
2017-07-18[test] ca_cert_path can not be an empty stringRuben Pollan
2017-06-12[feat] push private key updates into nicknymRuben Pollan
Deal as well with sending key if key is outdated in the providers nicknym. - Resolves: #8819, #8832
2017-06-07[tests] enable mail e2e againKali Kaneko (leap communications)
- skip ssl verification for this test - use mail.bitmask as e2e provider for now (ci.leap.se seems broken; cannot download smtp cert)
2017-06-07[feature] run vpn directly if user is rootKali Kaneko (leap communications)
- Improve tests too: add entry in resolv.conf, not done without resolvconf
2017-06-07[tests] improve vpn e2e testKali Kaneko (leap communications)
- add invite code
2017-06-07[tests] simple e2e vpn testKali Kaneko (leap communications)
- Resolves: #8874
2017-06-05[test] validate the CA cert fingerprint checkRuben Pollan
2017-06-05[bug] fail bonafide bootstrap for self sign certsRuben Pollan
- Resolves: #8881
2017-05-24[tests] fix testsKali Kaneko (leap communications)
2017-05-22[tests] add lxpolkit to the test-docker depsKali Kaneko (leap communications)
this is an attempt to debug the failure of the vpn e2e test on the works. if this commit makes the test pass, it means that we need to capture the "no polkit authentication agent running" in a more meaningful way.
2017-05-22[tests] add openvpn and mocha to docker test containerKali Kaneko (leap communications)
2017-05-19[tests] get invite code from env variableKali Kaneko (leap communications)
the BITMASK_INVITE_CODE variable must be set from within the CI settings.