summaryrefslogtreecommitdiffhomepage
path: root/gui/test
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-12-15 11:04:52 +0100
committerOskar Nyberg <oskar@mullvad.net>2022-12-15 16:05:38 +0100
commitbb2bcb87945f93d9451be7bfc2894d4fcb490a5c (patch)
tree2207bb032d86a05012d970bda8905d9d94d8656d /gui/test
parent0982a4a55e692797cee18f82cd1ffe753e02da33 (diff)
downloadmullvadvpn-bb2bcb87945f93d9451be7bfc2894d4fcb490a5c.tar.xz
mullvadvpn-bb2bcb87945f93d9451be7bfc2894d4fcb490a5c.zip
Improve npm alias for running e2e tests against installed app
The tests for an installed version of the app isn't possible to run in sequence. A lot of them requires the daemon to be in a specific state, and some require the daemon to change state during the test. This means that for the tests to be useful they have to be run individually when the daemon is in the correct state. The `e2e:installed` alias has been replaced with `e2e:sequential` which can be used to run tests against the installed app by running `npm run e2e:sequential installed/<test>`.
Diffstat (limited to 'gui/test')
-rw-r--r--gui/test/e2e/installed/state-dependent/disconnected.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/test/e2e/installed/state-dependent/disconnected.spec.ts b/gui/test/e2e/installed/state-dependent/disconnected.spec.ts
index 7fa853099e..a26b61279c 100644
--- a/gui/test/e2e/installed/state-dependent/disconnected.spec.ts
+++ b/gui/test/e2e/installed/state-dependent/disconnected.spec.ts
@@ -18,5 +18,5 @@ test.afterAll(async () => {
});
test('App should show disconnected tunnel state', async () => {
- await assertDisconnected(page)
+ await assertDisconnected(page);
});