summaryrefslogtreecommitdiffhomepage
path: root/desktop
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-07-30 15:01:10 +0200
committerDavid Lönnhager <david.l@mullvad.net>2025-07-31 13:23:05 +0200
commitc6f9321f910558b7623ababda32cfc7f031dffbb (patch)
tree9cc1d70b5400b9f0e274b62eed12245db328c3b9 /desktop
parent220e04499c57266bdb753b010cc2bf96ec4643d9 (diff)
downloadmullvadvpn-c6f9321f910558b7623ababda32cfc7f031dffbb.tar.xz
mullvadvpn-c6f9321f910558b7623ababda32cfc7f031dffbb.zip
Fix initial relay list state in e2e test, and update mock relay list
Diffstat (limited to 'desktop')
-rw-r--r--desktop/packages/mullvad-vpn/test/e2e/setup/main.ts60
1 files changed, 54 insertions, 6 deletions
diff --git a/desktop/packages/mullvad-vpn/test/e2e/setup/main.ts b/desktop/packages/mullvad-vpn/test/e2e/setup/main.ts
index d23d85cfa6..cb1a6801c7 100644
--- a/desktop/packages/mullvad-vpn/test/e2e/setup/main.ts
+++ b/desktop/packages/mullvad-vpn/test/e2e/setup/main.ts
@@ -87,15 +87,64 @@ class ApplicationMain {
longitude: 12,
relays: [
{
- hostname: 'se-got-wg-101',
+ hostname: 'mullvad-wireguard-1',
provider: 'mullvad',
- ipv4AddrIn: '127.0.0.1',
+ ipv4AddrIn: '10.0.0.1',
includeInCountry: true,
active: true,
weight: 0,
owned: true,
endpointType: 'wireguard',
- daita: false,
+ daita: true,
+ },
+ {
+ hostname: 'mullvad-wireguard-23',
+ provider: 'mullvad',
+ ipv4AddrIn: '10.0.0.2',
+ includeInCountry: true,
+ active: true,
+ weight: 0,
+ owned: true,
+ endpointType: 'wireguard',
+ daita: true,
+ },
+ {
+ hostname: 'another-provider-wireguard-1',
+ provider: 'another-provider',
+ ipv4AddrIn: '10.0.0.3',
+ includeInCountry: true,
+ active: true,
+ weight: 0,
+ owned: false,
+ endpointType: 'wireguard',
+ daita: true,
+ },
+ {
+ hostname: 'mullvad-wireguard-quic-1',
+ provider: 'mullvad',
+ ipv4AddrIn: '10.0.0.4',
+ includeInCountry: true,
+ active: true,
+ weight: 0,
+ owned: true,
+ endpointType: 'wireguard',
+ daita: true,
+ quic: {
+ addrIn: [],
+ domain: '',
+ token: '',
+ },
+ },
+ {
+ hostname: 'mullvad-openvpn-1',
+ provider: 'mullvad',
+ ipv4AddrIn: '10.0.0.2',
+ includeInCountry: true,
+ active: true,
+ weight: 0,
+ owned: true,
+ endpointType: 'openvpn',
+ daita: true,
},
],
},
@@ -159,9 +208,8 @@ class ApplicationMain {
settings: this.settings,
isPerformingPostUpgrade: false,
deviceState: this.deviceState,
- relayListPair: {
- relays: this.relayList,
- bridges: this.relayList,
+ relayList: {
+ relayList: this.relayList,
wireguardEndpointData: this.wireguardEndpointData,
},
currentVersion: this.currentVersion,