summaryrefslogtreecommitdiffhomepage
path: root/test/test-runner/src/main.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-09-12Check actual service status in test framework instead of only named pipeDavid Lönnhager1-15/+4
2025-07-11Make enable/disable daemon not start/stopSebastian Holmin1-2/+8
2025-07-11Add functions to toggle service startupSebastian Holmin1-11/+14
2025-07-11Add e2e test for clearing firewall rules on rebootMarkus Pettersson1-0/+16
In some conditions, you can be left with blocking firewall rules if an upgrade fails to install the new app version. Add e2e test to assert that these firewall rules are cleared on reboot for Windows.
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin1-4/+4
2025-06-09Add ifconfig alias e2e testJoakim Hulthe1-0/+34
Co-Authored-By: David Lönnhager <david.l@mullvad.net>
2024-11-08Check that the daemon version is correct post-upgradeMarkus Pettersson1-0/+5
2024-10-18Set HOME env var in test runnerDavid Lönnhager1-3/+15
2024-08-22Spawn test processes as an unprivileged user by defaultDavid Lönnhager1-5/+11
Fixes an issue where the connection-checker is allowed to leak traffic on macOS
2024-08-09Fix nightly lintsSebastian Holmin1-1/+1
2024-07-16Add E2E test of CVE-2019-14899 mitigationJoakim Hulthe1-0/+8
2024-04-12Reset daemon environment when neededMarkus Pettersson1-0/+7
2024-04-08Add get_os_version RPCDavid Lönnhager1-0/+5
2024-04-08Add timeout to tester geoip rcp callJoakim Hulthe1-3/+11
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe1-8/+214
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin1-5/+15
Add dependency `scopeguard` for cleaning up nftables ruleset.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-2/+2
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-07Add RPCs for running TCP forwarder on test runnerDavid Lönnhager1-0/+19
2024-02-01Set serial baud rate to zero on macOSLinus Färnstrand1-1/+6
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager1-5/+0
2023-12-15[Clippy] Fix unused `async`Markus Pettersson1-1/+1
2023-12-06Remove superseded RPC for restarting the Mullvad system serviceMarkus Pettersson1-11/+3
The function `set_mullvad_daemon_service_state(on: bool) -> Result<(), test_rpc::Error>`, which would conditionally start or stop the Mullvad daemon in the test runner, has been superseded by two separate functions which accomplish the same thing: `start_mullvad_daemon` & `stop_mullvad_daemon`.
2023-12-06Implement RPC for reading & writing to app cache fileMarkus Pettersson1-2/+42
- Implement RPC for writing to a file in a test runner / guest VM. - Implement RPC for getting app cache directory - Implement RPC for restarting the app in a test runner / guest vm - Implement RPC for starting the app in a test runner / guest vm - Implement RPC for stopping the app in a test runner / guest vm - Implement `find_cache_traces` on Window & macOS
2023-11-22Obtain tunnel interface from management interface in testsDavid Lönnhager1-15/+11
2023-10-20Add desktop end-to-end testsDavid Lönnhager1-0/+409
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>