diff options
| author | Oskar <oskar@mullvad.net> | 2025-02-07 08:22:13 +0100 |
|---|---|---|
| committer | Oskar <oskar@mullvad.net> | 2025-02-14 16:39:57 +0100 |
| commit | 1ffda2b064940f0f3c425f562156f6a700f30aa4 (patch) | |
| tree | dc2c79af052788523d3ccf43a3d159581a7420fb | |
| parent | 90e41ea22984882a0f87116cbfd21c6527c752f6 (diff) | |
| download | mullvadvpn-1ffda2b064940f0f3c425f562156f6a700f30aa4.tar.xz mullvadvpn-1ffda2b064940f0f3c425f562156f6a700f30aa4.zip | |
Require contents of in ip label to be exact
| -rw-r--r-- | desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/tunnel-state.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/tunnel-state.spec.ts b/desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/tunnel-state.spec.ts index 1d808dc98b..b3f5df0ad6 100644 --- a/desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/tunnel-state.spec.ts +++ b/desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/tunnel-state.spec.ts @@ -34,7 +34,7 @@ test('App should connect', async () => { await expectConnected(page); const relay = page.getByTestId('hostname-line'); - const inIp = page.locator(':text("In") + span'); + const inIp = page.getByText('In', { exact: true }).locator('+ span'); // If IPv6 is enabled, there will be two "Out" IPs, one for IPv4 and one for IPv6 // Selecting the first resolves to the IPv4 address regardless of the IP setting const outIp = page.locator(':text("Out") + div > span').first(); |
