summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src
AgeCommit message (Collapse)AuthorFilesLines
2024-04-30Enable integration tests for macOS split tunnelingDavid Lönnhager3-5/+21
2024-04-22Limit execution of `test_installation_idempotency`Markus Pettersson1-22/+30
2024-04-19Add gui test to test frameworkOskar Nyberg1-7/+67
2024-04-19Add ensure_logged_in test helper functionOskar Nyberg1-0/+15
2024-04-17Remove dummy interfacesDavid Lönnhager3-70/+3
2024-04-17Prevent ARP lookups during LAN testsDavid Lönnhager3-60/+48
2024-04-17Run nightly formatter for testsDavid Lönnhager1-2/+2
2024-04-12Reset daemon environment when neededMarkus Pettersson2-6/+29
2024-04-12Do not panic in DNS testsMarkus Pettersson1-16/+23
Avoid panicking in more tests - prefer to propagate an error value instead.
2024-04-12Get rid of type casting for test function argumentMarkus Pettersson3-19/+19
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-12Refactor custom access method integration testsMarkus Pettersson1-44/+50
Break out the Shadowsocks and SOCKS5 custom access method tests into seperate tests. The intent is to increase logging granularity.
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-11Fix wireguard rotation testSebastian Holmin1-20/+39
The test was flaky because if a race condition which made the key rotation missable.
2024-04-10Add list-tests command to test-managerJoakim Hulthe1-0/+14
2024-04-10Sort desktop e2e result matrix by priorityJoakim Hulthe3-7/+12
2024-04-09Make payload of connection checker configurableMarkus Pettersson2-14/+31
2024-04-09Implement test for audit ticket `MUL-02-002 WP2`Markus Pettersson6-80/+164
2024-04-09Move `ConnChecker` to `helpers.rs`Markus Pettersson2-304/+313
2024-04-09Run `cargo +nightly fmt`Sebastian Holmin15-130/+96
2024-04-08Print detected tested guest OS versionDavid Lönnhager1-0/+13
2024-04-08Print error cause on test vm config parse failJoakim Hulthe1-1/+1
2024-04-08Add timeout to tester geoip rcp callJoakim Hulthe1-3/+0
2024-04-08Add ip override test for wireguardJoakim Hulthe2-0/+450
2024-03-27Refactor `mullvad-relay-selector`Markus Pettersson4-32/+33
Implement a system built on 'queries' for selecting appropriate relays. A query is a set of constraints which dictates which relay(s) that *can* be chosen by the relay selector. The user's settings can naturally be expressed as a query. The semantics of merging two queries in a way that always prefer user settings is defined by the new `Intersection` trait. Split `mullvad-relay-selector` into several modules: - `query.rs`: Definition of a query on different types of relays. This module is integral to the new API of `mullvad-relay-selector` - `matcher.rs`: Logic for filtering out candidate relays based on a query. - `detailer.rs`: Logic for deriving connection details for the selected relay. - `tests/`: Integration tests for the new relay selector. These tests only use the public APIs of `RelaySelector` and make sure that the output matches the expected output in different scenarios.
2024-03-26Enter blocking state correctly in upgrade testDavid Lönnhager1-2/+1
2024-03-25Make sure connecting works while API is unavailableMarkus Pettersson3-45/+104
2024-03-21Fix wonky timeouts in test_split_tunnelJoakim Hulthe1-3/+14
2024-03-20Merge test_mtu_detection_{windows,linux} testsJoakim Hulthe1-18/+2
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe3-98/+313
2024-03-20Group platform split tunnel tests under one testJoakim Hulthe1-4/+15
2024-03-20Add split tunnel test for windowsJoakim Hulthe1-25/+96
2024-03-20Make OVMF paths configurable per VMJoakim Hulthe2-8/+36
2024-03-20Use curl for split tunnel testJoakim Hulthe1-8/+13
2024-03-20Make e2e tests accept anyhow errorsJoakim Hulthe4-16/+14
2024-03-20Add basic split-tunnel testJoakim Hulthe2-1/+60
2024-03-12Update test-manager dep `inventory`Joakim Hulthe1-7/+5
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin4-34/+148
Add dependency `scopeguard` for cleaning up nftables ruleset.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe6-67/+65
`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-19Fix redundant importsDavid Lönnhager1-1/+1
2024-02-16Refactor API access methodsDavid Lönnhager1-4/+1
2024-02-16Run `import-settings` UI tests in test frameworkMarkus Pettersson1-0/+11
2024-02-15Enable access method GUI test in e2e testingMarkus Pettersson3-18/+104
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-15Fix unhelpful error messageMarkus Pettersson1-3/+4
2024-02-15Add integration tests for API access methodsMarkus Pettersson2-0/+75
Add Shadowsocks & SOCKS5 (remote) access method tests. Simply try to access the Mullvad API using these custom access methods.
2024-02-15Fix off-by-one error when choosing access method candidatesMarkus Pettersson2-14/+15
2024-02-08Add local SOCKS bridge testDavid Lönnhager1-1/+105
2024-02-08Add test for remote custom SOCKS5 bridgeDavid Lönnhager1-3/+98
2024-02-07Add RPCs for running TCP forwarder on test runnerDavid Lönnhager1-1/+1