summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/run_tests.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin1-2/+2
2025-07-09Inline format argumentsLinus Färnstrand1-1/+1
2025-01-22Remove mullvad client version from macroSebastian Holmin1-15/+8
Replace `MullvadClientArgument` with `Option` Small refactor
2025-01-22Add location overrides per test to test-manager configMarkus Pettersson1-5/+10
2024-11-22Improve documentationSebastian Holmin1-0/+5
2024-11-22Add `test_upgrade_app` to list testsSebastian Holmin1-1/+1
2024-08-16Run tests in the order givenSebastian Holmin1-20/+2
2024-08-16Remove `always_run` test macro parameterSebastian Holmin1-3/+0
2024-08-16Refactor test cleanup logicSebastian Holmin1-111/+154
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 Holmin1-1/+1
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-14Redo error handling `test_automatic_wireguard_rotation`Markus Pettersson1-0/+1
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-09Fix `tarpc: Connection broken` errorSebastian Holmin1-0/+1
2024-04-12Reset daemon environment when neededMarkus Pettersson1-2/+2
2024-04-12Get rid of type casting for test function argumentMarkus Pettersson1-7/+7
Replace the `Box<dyn Any>` type for the third test function argument 'mullvad client' - replace it with a dedicated enum type `MullvadClientArgument`. This change got rid of the type casting from `Box<dyn Any>` to `MullvadProxyClient` done in the `test_function` macro.
2024-04-10Sort desktop e2e result matrix by priorityJoakim Hulthe1-6/+4
2024-04-09Run `cargo +nightly fmt`Sebastian Holmin1-8/+7
2024-04-08Print detected tested guest OS versionDavid Lönnhager1-0/+13
2024-03-20Make e2e tests accept anyhow errorsJoakim Hulthe1-4/+2
2024-02-06Simplify how settings are reset in testsDavid Lönnhager1-6/+1
2024-02-01Set serial baud rate to zero on macOSLinus Färnstrand1-1/+6
2024-01-15Use type safe Mullvad protobuf client over generated ditoMarkus Pettersson1-2/+2
Re-write some code in the test framework to prefer the type safe wrapper around the Mullvad app gRPC client instead of its auto-generated dito. `ManagementServiceClient` is automatically generated from the protobuf definitions found in `management_interface.proto`, and contains some very crude types. The `MullvadProxyClient` is a type-safe wrapper around `ManagementServiceClient` which performs conversions & validation of the data types from the gRPC server (the daemon) to their respective mappings in the `talpid-*` and `mullvad-*` crates. These types are more ergonomic to work with, and since we already have the conversions in place we should prefer those.
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager1-3/+5
2023-12-15[Clippy] Fix unused `async`Markus Pettersson1-2/+2
2023-10-20Add desktop end-to-end testsDavid Lönnhager1-0/+222
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>