diff options
| author | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-09-15 15:24:27 +0200 |
|---|---|---|
| committer | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-09-15 16:58:34 +0200 |
| commit | 28c6eb0b1dbce3373ac4c161fc3ae456afe41677 (patch) | |
| tree | 98b83bd0507fa1f4e3cfa646d0c1396a6f1b65d5 | |
| parent | 389795c6d77b78149a1d311ffb2e2628d40f6450 (diff) | |
| download | mullvadvpn-28c6eb0b1dbce3373ac4c161fc3ae456afe41677.tar.xz mullvadvpn-28c6eb0b1dbce3373ac4c161fc3ae456afe41677.zip | |
Update test which clicks login button to actually login with the button
| -rw-r--r-- | desktop/packages/mullvad-vpn/test/e2e/mocked/login.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/packages/mullvad-vpn/test/e2e/mocked/login.spec.ts b/desktop/packages/mullvad-vpn/test/e2e/mocked/login.spec.ts index b7e0801ceb..2d309cb490 100644 --- a/desktop/packages/mullvad-vpn/test/e2e/mocked/login.spec.ts +++ b/desktop/packages/mullvad-vpn/test/e2e/mocked/login.spec.ts @@ -45,7 +45,7 @@ test.describe('Login view', () => { test('Should try to login when clicking login button', async () => { await routes.login.fillAccountNumber('1234 1234 1234 1234'); - await Promise.all([util.ipc.account.login.expect(), routes.login.loginByPressingEnter()]); + await Promise.all([util.ipc.account.login.expect(), routes.login.loginByClickingLoginButton()]); const header = routes.login.selectors.header(); await expect(header).toHaveText('Logging in...'); await expect(routes.login.selectors.loginButton()).toBeDisabled(); |
