Skip to content

Commit 4176bf5

Browse files
committed
Require contents of in ip label to be exact
1 parent f0d4e2e commit 4176bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/tunnel-state.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test('App should connect', async () => {
3434
await expectConnected(page);
3535

3636
const relay = page.getByTestId('hostname-line');
37-
const inIp = page.locator(':text("In") + span');
37+
const inIp = page.getByText('In', { exact: true }).locator('+ span');
3838
// If IPv6 is enabled, there will be two "Out" IPs, one for IPv4 and one for IPv6
3939
// Selecting the first resolves to the IPv4 address regardless of the IP setting
4040
const outIp = page.locator(':text("Out") + div > span').first();

0 commit comments

Comments
 (0)