diff options
| author | Oskar <oskar@mullvad.net> | 2024-11-05 09:07:25 +0100 |
|---|---|---|
| committer | Oskar <oskar@mullvad.net> | 2024-11-14 16:43:38 +0100 |
| commit | d40ddb0ecc2a41b41d1b96af277e8f34994ccaa8 (patch) | |
| tree | 41d24919aa752f42cc8e44cac2a2268337d4c6d7 /test/test-manager | |
| parent | 56d5c5d9bc5064014c1afbecca7e2a67ccb6509e (diff) | |
| download | mullvadvpn-d40ddb0ecc2a41b41d1b96af277e8f34994ccaa8.tar.xz mullvadvpn-d40ddb0ecc2a41b41d1b96af277e8f34994ccaa8.zip | |
Update script and code references to gui-directory
Diffstat (limited to 'test/test-manager')
| -rw-r--r-- | test/test-manager/README.md | 4 | ||||
| -rw-r--r-- | test/test-manager/src/tests/ui.rs | 6 |
2 files changed, 6 insertions, 4 deletions
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`. |
