summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/tests/ui.rs
diff options
context:
space:
mode:
authorSebastian Holmin <sebastian.holmin@mullvad.net>2025-01-22 13:33:03 +0100
committerSebastian Holmin <sebastian.holmin@mullvad.net>2025-01-22 13:33:03 +0100
commitbbfc9c858bd58cf8a8768e7229b40ee44aa898bd (patch)
tree66ffb72550e367f13fe4b68881937627d79a390f /test/test-manager/src/tests/ui.rs
parent598727746cd679b6d1aa327f6a5ac0506693bda8 (diff)
parentb198ecd495f75117c482eea2f9d8cd738ad14441 (diff)
downloadmullvadvpn-bbfc9c858bd58cf8a8768e7229b40ee44aa898bd.tar.xz
mullvadvpn-bbfc9c858bd58cf8a8768e7229b40ee44aa898bd.zip
Merge branch 'be-able-to-whitelist-relays-in-an-end-to-end-test-run-des-1052'
Diffstat (limited to 'test/test-manager/src/tests/ui.rs')
-rw-r--r--test/test-manager/src/tests/ui.rs28
1 files changed, 16 insertions, 12 deletions
diff --git a/test/test-manager/src/tests/ui.rs b/test/test-manager/src/tests/ui.rs
index 6b9ce5b3a9..088fd1e55d 100644
--- a/test/test-manager/src/tests/ui.rs
+++ b/test/test-manager/src/tests/ui.rs
@@ -91,19 +91,11 @@ pub async fn test_ui_tunnel_settings(
rpc: ServiceClient,
mut mullvad_client: MullvadProxyClient,
) -> anyhow::Result<()> {
- // NOTE: This test connects multiple times using various settings, some of which may cause a
- // significant increase in connection time, e.g. multihop and OpenVPN. For this reason, it is
- // preferable to only target low latency servers.
- use helpers::custom_lists::LowLatency;
-
// tunnel-state.spec precondition: a single WireGuard relay should be selected
log::info!("Select WireGuard relay");
let entry = helpers::constrain_to_relay(
&mut mullvad_client,
- RelayQueryBuilder::new()
- .wireguard()
- .location(LowLatency)
- .build(),
+ RelayQueryBuilder::new().wireguard().build(),
)
.await?;
@@ -273,7 +265,11 @@ async fn test_custom_bridge_gui(
/// Test settings import / IP overrides in the GUI
#[test_function]
-pub async fn test_import_settings_ui(_: TestContext, rpc: ServiceClient) -> Result<(), Error> {
+pub async fn test_import_settings_ui(
+ _: TestContext,
+ rpc: ServiceClient,
+ _: MullvadProxyClient,
+) -> Result<(), Error> {
let ui_result = run_test(&rpc, &["settings-import.spec"]).await?;
assert!(ui_result.success());
Ok(())
@@ -281,7 +277,11 @@ pub async fn test_import_settings_ui(_: TestContext, rpc: ServiceClient) -> Resu
/// Test obfuscation settings in the GUI
#[test_function]
-pub async fn test_obfuscation_settings_ui(_: TestContext, rpc: ServiceClient) -> Result<(), Error> {
+pub async fn test_obfuscation_settings_ui(
+ _: TestContext,
+ rpc: ServiceClient,
+ _: MullvadProxyClient,
+) -> Result<(), Error> {
let ui_result = run_test(&rpc, &["obfuscation.spec"]).await?;
assert!(ui_result.success());
Ok(())
@@ -289,7 +289,11 @@ pub async fn test_obfuscation_settings_ui(_: TestContext, rpc: ServiceClient) ->
/// Test settings in the GUI
#[test_function]
-pub async fn test_settings_ui(_: TestContext, rpc: ServiceClient) -> Result<(), Error> {
+pub async fn test_settings_ui(
+ _: TestContext,
+ rpc: ServiceClient,
+ _: MullvadProxyClient,
+) -> Result<(), Error> {
let ui_result = run_test(&rpc, &["settings.spec"]).await?;
assert!(ui_result.success());
Ok(())