diff options
| -rw-r--r-- | gui/README.md | 4 | ||||
| -rw-r--r-- | gui/package.json | 4 | ||||
| -rw-r--r-- | gui/test/e2e/installed/state-dependent/disconnected.spec.ts | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gui/README.md b/gui/README.md index 068b5dd70e..f26495426a 100644 --- a/gui/README.md +++ b/gui/README.md @@ -25,11 +25,11 @@ The app has unit tests and integration tests located in test/: The tests in **test/e2e/installed** are run against the already installed app using the currently running daemon. It's possible to run these tests on any machine with the app installed by running ``` -npm run e2e:installed +npm run e2e:sequential installed/<test> ``` or without building by running ``` -npm run e2e:installed:no-build +npm run e2e:sequential:no-build installed/<test> ``` It is also possible to build these tests along with all its dependencies into an executable that can diff --git a/gui/package.json b/gui/package.json index 2c7f860987..5153c85d45 100644 --- a/gui/package.json +++ b/gui/package.json @@ -97,8 +97,8 @@ "tsc": "tsc -p . --noEmit", "e2e": "npm run build && npm run e2e:no-build", "e2e:no-build": "xvfb-maybe -- playwright test mocked", - "e2e:installed": "npm run build && npm run e2e:installed:no-build", - "e2e:installed:no-build": "xvfb-maybe -- playwright test --workers 1", + "e2e:sequential": "npm run build && npm run e2e:sequential:no-build", + "e2e:sequential:no-build": "xvfb-maybe -- playwright test --workers 1", "e2e:update-snapshots": "npm run e2e:no-build -- --update-snapshots", "develop": "gulp develop", "test": "cross-env NODE_ENV=test electron-mocha --renderer --reporter spec --require ts-node/register --require \"test/unit/setup/renderer.ts\" \"test/unit/**/*.{ts,tsx}\"", 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); }); |
