summaryrefslogtreecommitdiffhomepage
path: root/test/test-rpc/src/client.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-09-12Stop daemon correctly when changing log level in testsDavid Lönnhager1-3/+0
2025-09-12Wait for service after app install in testsDavid Lönnhager1-1/+6
2025-09-12Check actual service status in test framework instead of only named pipeDavid Lönnhager1-1/+1
2025-07-11Add functions to toggle service startupSebastian Holmin1-2/+25
2025-07-11Add e2e test for clearing firewall rules on rebootMarkus Pettersson1-0/+14
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-06-09Add ifconfig alias e2e testJoakim Hulthe1-0/+20
Co-Authored-By: David Lönnhager <david.l@mullvad.net>
2024-11-08Check that the daemon version is correct post-upgradeMarkus Pettersson1-0/+10
2024-08-14Redo error handling `test_automatic_wireguard_rotation`Markus Pettersson1-5/+10
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-07-29Fix lints for Rust verson 1.80 in e2e testsSebastian Holmin1-1/+1
* Lower priority for lint group * doc list item missing indentation
2024-07-16Add E2E test of CVE-2019-14899 mitigationJoakim Hulthe1-0/+7
2024-04-12Reset daemon environment when neededMarkus Pettersson1-0/+14
2024-04-08Add get_os_version RPCDavid Lönnhager1-0/+6
2024-03-25Make sure connecting works while API is unavailableMarkus Pettersson1-0/+5
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe1-0/+22
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin1-6/+14
Add dependency `scopeguard` for cleaning up nftables ruleset.
2024-02-15Enable access method GUI test in e2e testingMarkus Pettersson1-1/+7
Since `test_custom_access_methods_ui` may fail after messing with the test runner environment, we want to fail fast and abort the entire test run if the test fails before managing to clean up.
2024-02-07Add RPCs for running TCP forwarder on test runnerDavid Lönnhager1-0/+10
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager1-8/+0
2023-12-06Remove superseded RPC for restarting the Mullvad system serviceMarkus Pettersson1-24/+24
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-06Add `test_connecting_state_when_corrupted_state_cache`Markus Pettersson1-4/+9
Add regression test which checks that the daemon successfully recovers from a corrupt target state cache. If the target state cache is corrupt, the daemon will default to the `Connecting` target state on startup.
2023-12-06Implement RPC for reading & writing to app cache fileMarkus Pettersson1-0/+46
- 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-10/+8
2023-10-20Add desktop end-to-end testsDavid Lönnhager1-0/+289
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>