summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/tests/mod.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-09-30Add `skip` attribute to `test_function` macroMarkus Pettersson1-6/+6
2025-09-12Dump mullvad logs when reinstalling/resetting daemon failsDavid Lönnhager1-15/+32
2025-08-19Add --skip flag to test-managerJoakim Hulthe1-2/+14
2025-07-11Make enable/disable daemon not start/stopSebastian Holmin1-26/+31
2025-07-11Add e2e test for clearing firewall rules on rebootMarkus Pettersson1-0/+1
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-1/+1
2025-06-24Enable support for creating a custom list with locationsJonatan Rhodin1-1/+1
2025-06-09Add ifconfig alias e2e testJoakim Hulthe1-0/+1
Co-Authored-By: David Lönnhager <david.l@mullvad.net>
2025-06-05Fix typosomahs1-1/+1
2025-02-24Replace `thiserror` with `anyhow` in some helper fnsSebastian Holmin1-1/+1
2025-02-24Disconnect before resetting settingsSebastian Holmin1-3/+3
2025-02-24Fix `apply_settings_from_query` overwriting settingsSebastian Holmin1-1/+0
2025-02-12Fix `clippy::precedence`Sebastian Holmin1-1/+3
2025-01-22Lower verbosity of logsSebastian Holmin1-2/+2
2025-01-22Remove duplicate logSebastian Holmin1-6/+0
2025-01-22Remove mullvad client version from macroSebastian Holmin1-6/+6
Replace `MullvadClientArgument` with `Option` Small refactor
2025-01-22Add location overrides per test to test-manager configMarkus Pettersson1-4/+56
2024-11-22Improve documentationSebastian Holmin1-6/+8
2024-11-22Improve type safetySebastian Holmin1-12/+25
2024-11-22Remove the `command` field of `TestMetadata`Sebastian Holmin1-2/+1
2024-11-22Add `test_upgrade_app` to list testsSebastian Holmin1-6/+21
2024-11-20Set the default location for tests to "Nordic"Sebastian Holmin1-0/+1
Add to `prepare_daemon` a step where the default location, including for multihop and bridges, is set to the `Nordic` custom list.
2024-11-20Do not fail when specifying tests skipped for OSSebastian Holmin1-8/+10
When starting e2e tests on multiple platforms, we always specify the same list of tests for all paltforms. Therefore we should not fail on parsing a test that is skipped for the current platform.
2024-11-15Move end-to-end tests for audit issues to separate moduleMarkus Pettersson1-1/+1
2024-11-12Add default custom lists before running a testMarkus Pettersson1-0/+1
2024-09-17Add DAITA smart routing e2e testsJoakim Hulthe1-1/+5
2024-08-16Run tests in the order givenSebastian Holmin1-0/+20
2024-08-16Refactor test cleanup logicSebastian Holmin1-14/+77
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-14Redo error handling `test_automatic_wireguard_rotation`Markus Pettersson1-1/+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-12Replace OpenVPN CA certificate using CLI flagMarkus Pettersson1-6/+6
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-19Make previous app version and gui e2e binaries optionalSebastian Holmin1-0/+3
2024-07-16Add E2E test of CVE-2019-14899 mitigationJoakim Hulthe1-0/+1
2024-06-10Retry DNS lookup for API in test managerDavid Lönnhager1-1/+1
2024-04-30Enable integration tests for macOS split tunnelingDavid Lönnhager1-0/+2
2024-04-12Reset daemon environment when neededMarkus Pettersson1-4/+27
2024-04-12Get rid of type casting for test function argumentMarkus Pettersson1-6/+3
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-12Add ClearCustomLists RPC callJoakim Hulthe1-6/+5
2024-04-12Add ClearCustomApiAccessMethods rpc callJoakim Hulthe1-0/+11
2024-04-12Make sure we clear all settings between e2e testsJoakim Hulthe1-13/+50
2024-04-10Sort desktop e2e result matrix by priorityJoakim Hulthe1-0/+7
2024-04-08Add ip override test for wireguardJoakim Hulthe1-0/+1
2024-03-20Make e2e tests accept anyhow errorsJoakim Hulthe1-1/+1
2024-03-20Add basic split-tunnel testJoakim Hulthe1-1/+2
2024-03-12Update test-manager dep `inventory`Joakim Hulthe1-7/+5
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin1-4/+0
Add dependency `scopeguard` for cleaning up nftables ruleset.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-12/+12
`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-15Add integration tests for API access methodsMarkus Pettersson1-0/+1
Add Shadowsocks & SOCKS5 (remote) access method tests. Simply try to access the Mullvad API using these custom access methods.
2024-02-06Simplify how settings are reset in testsDavid Lönnhager1-25/+7
2024-01-17Return specific error when connect_and_wait fails due to entering the error ↵David Lönnhager1-0/+3
state