summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2024-08-16Run tests in the order givenSebastian Holmin3-50/+50
2024-08-16Remove `always_run` test macro parameterSebastian Holmin3-24/+3
2024-08-16Remove `must_succede` test macro parameterSebastian Holmin3-21/+3
This simplifes handling of test results.
2024-08-16Remove `cleanup` test macro parameterSebastian Holmin2-17/+2
2024-08-16Refactor test cleanup logicSebastian Holmin10-360/+481
Cleanup is now done BEFORE tests are run and takes care of resetting the daemon state more thoroughly. The daemon will now always be installed, logged in and disconnected with all settings reset before the next test. Tests are therefore not able to depend on the previous test leaving the test-runner in a certain state and must instead take care of setting up their own state themselves. `test_upgrade_app` gets special treatment to be able to run before the new app version is automatically installed. Refactor `run_tests.rs`
2024-08-16Improve logs and reduce verbositySebastian Holmin7-22/+26
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-16Add Shadowsocks obfuscation support to mullvad-daemonDavid Lönnhager1-0/+2
2024-08-15Fix word splitting of `TEST_FILTERS` env varSebastian Holmin1-1/+2
2024-08-15Add support for Windows ARM64Daniel Paoliello1-1/+1
2024-08-14Add `--test-runner-dir` flagSebastian Holmin4-18/+12
2024-08-14Add script for building test framework artifactsMarkus Pettersson4-3/+61
Pass `TEST_MANAGER_STATIC` when building the `test-manager` crate to have it link statically against `libpcap`. This is optional, but building the with the provided container will produce a statically linked binary.
2024-08-14Build `libpcap` without dbusDavid Lönnhager2-1/+20
2024-08-14Remove test test_connecting_state_when_corrupted_state_cacheDavid Lönnhager1-49/+0
This is covered by unit tests now
2024-08-14Add typed target tunnel stateDavid Lönnhager1-0/+1
2024-08-14Make talpid-dbus optional in talpid-platform-metadataDavid Lönnhager2-34/+1
2024-08-14Redo error handling `test_automatic_wireguard_rotation`Markus Pettersson5-93/+96
Make the following changes: - Propagate the device error instead of throwing away the error information by transforming it into an `Option`. - Increase daemon restart timeout - Convert catch-all arm to exhaustive check
2024-08-13Refactor tunnel provider and TalpidVpnServiceDavid Lönnhager1-0/+1
This also fixes the issue of the VPN service being restarted unnecessarily
2024-08-12Replace OpenVPN CA certificate using CLI flagMarkus Pettersson13-108/+214
2024-08-09Update README.mdSebastian Holmin1-51/+69
2024-08-09Fix `tarpc: Connection broken` errorSebastian Holmin1-0/+1
2024-08-09Restructure test scriptsSebastian Holmin11-272/+475
Split functionality `ci-runtest.sh` into multiple scripts. `test-by-version.sh` can be used to test against any version of the app available on the build servers. `test-utils.sh` contains shared logic. Rename `PACKAGES_DIR` env `PACKAGE_DIR`, it's more consistent with the new CLI flag.
2024-08-09Fix `test_connected_state` failing on obfuscation != `None`Sebastian Holmin1-1/+1
2024-08-09Capture errors in `systemclt` cmdSebastian Holmin1-5/+19
2024-08-09Improve error messagesSebastian Holmin3-6/+12
2024-08-09Make logs less spammySebastian Holmin5-6/+8
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-09Fix nightly lintsSebastian Holmin2-5/+3
2024-08-09Add `--gui-package` flagSebastian Holmin3-15/+38
2024-08-09Change VM config from positional arg to flagSebastian Holmin3-37/+32
2024-08-09Fix regex on release versionsSebastian Holmin1-9/+37
2024-08-09Fix `find_app` file matching bugSebastian Holmin1-0/+2
It could match on dev builds when specifying a stable build. Add back sorting by file name length, which on ok solution to this problem.
2024-08-09Improve directory seach logic for UI testsSebastian Holmin1-1/+11
2024-08-07Log dnsmasq output after initial setupDavid Lönnhager1-5/+16
2024-08-07Disable debug mode for dnsmasq in test frameworkDavid Lönnhager1-1/+3
Fixes breakage after reboots
2024-08-07Promote serde(_json) to workspace dependenciesJoakim Hulthe2-7/+8
2024-07-31Use reset RPC in test suiteDavid Lönnhager1-104/+4
This fixes the issue of some settings (DAITA) not being reset
2024-07-31Fix hardcoded tunnel interface name in testDavid Lönnhager1-1/+3
2024-07-31Create testing config dir if it does not already existDavid Lönnhager2-9/+35
2024-07-29Fix lints for Rust verson 1.80 in e2e testsSebastian Holmin4-27/+21
* Lower priority for lint group * doc list item missing indentation
2024-07-26Update `Cargo.lock`Sebastian Holmin1-14/+5
Needed because of the update to `ipnetwork = "0.20"` in the app workspace.
2024-07-19Refactor `find_app`Sebastian Holmin1-63/+33
2024-07-19Rename `--previous-app` to `--app-package-to-upgrade-from`Sebastian Holmin7-22/+28
2024-07-19Rename `--current-app` to `--app-package`Sebastian Holmin7-27/+27
2024-07-19Refactor `get_app_manifes`Sebastian Holmin2-26/+12
Removing the async allowed the code to be greatly simplified, and likely doesn't impact performance anyway.
2024-07-19Replace implicit cache folder with `--package-folder` argSebastian Holmin4-22/+26
2024-07-19Change default log level from `DEBUG` to `INFO`Sebastian Holmin1-1/+1
This will not affect `ci-runtests.sh` as the log level is set to `DEBUG` using the `RUST_LOG` env variable. Most debug logs are not relevant when creating new integration and running them locally, so this is a more sane default.
2024-07-19Add error message on failed `rootlesskit` cmdSebastian Holmin1-1/+3
2024-07-19Clarify valid arguments for `--curent-app` and `--previous-app`Sebastian Holmin1-2/+11
2024-07-19Make previous app version and gui e2e binaries optionalSebastian Holmin7-48/+73
2024-07-16Add E2E test of CVE-2019-14899 mitigationJoakim Hulthe11-68/+469
2024-07-16Account for CARGO_TARGET_DIR in e2e test-managerJoakim Hulthe2-16/+29