diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2023-09-04 10:50:51 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2023-09-05 13:40:57 +0200 |
| commit | d6d208558312cbfcff028f7a3b5b926d9c0bc627 (patch) | |
| tree | e17f7072e34c154f993bace09439b399c08f601d /gui/test | |
| parent | e4be108a972b56381a51443b59312fefef1cbfbe (diff) | |
| download | mullvadvpn-d6d208558312cbfcff028f7a3b5b926d9c0bc627.tar.xz mullvadvpn-d6d208558312cbfcff028f7a3b5b926d9c0bc627.zip | |
Fix login tests
Diffstat (limited to 'gui/test')
| -rw-r--r-- | gui/test/e2e/installed/state-dependent/login.spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/test/e2e/installed/state-dependent/login.spec.ts b/gui/test/e2e/installed/state-dependent/login.spec.ts index 203ad2367f..45444715bb 100644 --- a/gui/test/e2e/installed/state-dependent/login.spec.ts +++ b/gui/test/e2e/installed/state-dependent/login.spec.ts @@ -54,7 +54,7 @@ test('App should create account', async () => { await expect(title).toHaveText('Account created'); await expect(subtitle).toHaveText('Logged in'); - expect(await util.waitForNavigation()).toEqual(RoutePath.main); + expect(await util.waitForNavigation()).toEqual(RoutePath.expired); const outOfTimeTitle = page.getByTestId('title'); await expect(outOfTimeTitle).toHaveText('Congrats!'); @@ -121,7 +121,7 @@ test('App should log in to expired account', async () => { await expect(title).toHaveText('Logged in'); await expect(subtitle).toHaveText('Valid account number'); - expect(await util.waitForNavigation()).toEqual(RoutePath.main); + expect(await util.waitForNavigation()).toEqual(RoutePath.expired); const outOfTimeTitle = page.getByTestId('title'); await expect(outOfTimeTitle).toHaveText('Out of time'); |
