summaryrefslogtreecommitdiffhomepage
path: root/test/test-rpc/src
AgeCommit message (Collapse)AuthorFilesLines
2023-12-06Remove superseded RPC for restarting the Mullvad system serviceMarkus Pettersson2-29/+27
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 Pettersson2-5/+10
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 Pettersson2-0/+60
- 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önnhager2-23/+15
2023-10-20Add desktop end-to-end testsDavid Lönnhager8-0/+1175
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>