summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorOskar <oskar@mullvad.net>2024-11-05 09:07:25 +0100
committerOskar <oskar@mullvad.net>2024-11-14 16:43:38 +0100
commitd40ddb0ecc2a41b41d1b96af277e8f34994ccaa8 (patch)
tree41d24919aa752f42cc8e44cac2a2268337d4c6d7 /test
parent56d5c5d9bc5064014c1afbecca7e2a67ccb6509e (diff)
downloadmullvadvpn-d40ddb0ecc2a41b41d1b96af277e8f34994ccaa8.tar.xz
mullvadvpn-d40ddb0ecc2a41b41d1b96af277e8f34994ccaa8.zip
Update script and code references to gui-directory
Diffstat (limited to 'test')
-rw-r--r--test/docs/BUILD_OS_IMAGE.md2
-rw-r--r--test/test-manager/README.md4
-rw-r--r--test/test-manager/src/tests/ui.rs6
3 files changed, 7 insertions, 5 deletions
diff --git a/test/docs/BUILD_OS_IMAGE.md b/test/docs/BUILD_OS_IMAGE.md
index 87e2c88e58..659eb7d55e 100644
--- a/test/docs/BUILD_OS_IMAGE.md
+++ b/test/docs/BUILD_OS_IMAGE.md
@@ -211,7 +211,7 @@ This can be achieved as follows:
## Windows Security
-Windows Defender ocasionally kills the `test-runner` because it believes it to be a trojan. This can be worked around by excluding `E:` and [the folder containing the standalone e2e GUI test executable](../../gui/README.md) following this guide: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26.
+Windows Defender ocasionally kills the `test-runner` because it believes it to be a trojan. This can be worked around by excluding `E:` and [the folder containing the standalone e2e GUI test executable](../../desktop/packages/mullvad-vpn/README.md) following this guide: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26.
## Finishing setup
diff --git a/test/test-manager/README.md b/test/test-manager/README.md
index c35e7c5ba7..3d69a666ae 100644
--- a/test/test-manager/README.md
+++ b/test/test-manager/README.md
@@ -32,8 +32,8 @@ If a new module is created, make sure to add it in
It is possible to write tests for asserting graphical properties in the app, but
this is a slightly more involved process. GUI tests are written in `Typescript`,
-and reside in the `gui/test/e2e` folder in the app repository. Packaging of
-these tests is also done from the `gui/` folder.
+and reside in the `desktop/packages/mullvad-vpn/test/e2e` folder in the app repository.
+Packaging of these tests is also done from the `desktop/packages/mullvad-vpn/` folder.
Assuming that a graphical test `gui-test.spec` has been bundled correctly, it
can be invoked from any Rust function by calling
diff --git a/test/test-manager/src/tests/ui.rs b/test/test-manager/src/tests/ui.rs
index 266624cc68..53c769a7cc 100644
--- a/test/test-manager/src/tests/ui.rs
+++ b/test/test-manager/src/tests/ui.rs
@@ -154,7 +154,8 @@ async fn test_custom_access_methods_gui(
// * SHADOWSOCKS_SERVER_CIPHER
// * SHADOWSOCKS_SERVER_PASSWORD
//
- // See `gui/test/e2e/installed/state-dependent/api-access-methods.spec.ts`
+ // See
+ // `desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/api-access-methods.spec.ts`
// for details. The setup should be the same as in
// `test_manager::tests::access_methods::test_shadowsocks`.
//
@@ -223,7 +224,8 @@ async fn test_custom_bridge_gui(
// * SHADOWSOCKS_SERVER_CIPHER
// * SHADOWSOCKS_SERVER_PASSWORD
//
- // See `gui/test/e2e/installed/state-dependent/custom-bridge.spec.ts`
+ // See
+ // `desktop/packages/mullvad-vpn/test/e2e/installed/state-dependent/custom-bridge.spec.ts`
// for details. The setup should be the same as in
// `test_manager::tests::access_methods::test_shadowsocks`.