summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager
AgeCommit message (Collapse)AuthorFilesLines
2024-08-12Replace OpenVPN CA certificate using CLI flagMarkus Pettersson10-106/+213
2024-08-09Fix `tarpc: Connection broken` errorSebastian Holmin1-0/+1
2024-08-09Restructure test scriptsSebastian Holmin2-11/+11
Split functionality `ci-runtest.sh` into multiple scripts. `test-by-version.sh` can be used to test against any version of the app available on the build servers. `test-utils.sh` contains shared logic. Rename `PACKAGES_DIR` env `PACKAGE_DIR`, it's more consistent with the new CLI flag.
2024-08-09Fix `test_connected_state` failing on obfuscation != `None`Sebastian Holmin1-1/+1
2024-08-09Improve error messagesSebastian Holmin3-6/+12
2024-08-09Make logs less spammySebastian Holmin5-6/+8
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-09Fix nightly lintsSebastian Holmin1-4/+2
2024-08-09Add `--gui-package` flagSebastian Holmin3-15/+38
2024-08-09Change VM config from positional arg to flagSebastian Holmin2-36/+31
2024-08-09Fix regex on release versionsSebastian Holmin1-9/+37
2024-08-09Fix `find_app` file matching bugSebastian Holmin1-0/+2
It could match on dev builds when specifying a stable build. Add back sorting by file name length, which on ok solution to this problem.
2024-08-09Improve directory seach logic for UI testsSebastian Holmin1-1/+11
2024-08-07Log dnsmasq output after initial setupDavid Lönnhager1-5/+16
2024-08-07Disable debug mode for dnsmasq in test frameworkDavid Lönnhager1-1/+3
Fixes breakage after reboots
2024-07-31Use reset RPC in test suiteDavid Lönnhager1-104/+4
This fixes the issue of some settings (DAITA) not being reset
2024-07-31Fix hardcoded tunnel interface name in testDavid Lönnhager1-1/+3
2024-07-31Create testing config dir if it does not already existDavid Lönnhager2-9/+35
2024-07-29Fix lints for Rust verson 1.80 in e2e testsSebastian Holmin2-25/+19
* Lower priority for lint group * doc list item missing indentation
2024-07-19Refactor `find_app`Sebastian Holmin1-63/+33
2024-07-19Rename `--previous-app` to `--app-package-to-upgrade-from`Sebastian Holmin5-19/+25
2024-07-19Rename `--current-app` to `--app-package`Sebastian Holmin5-23/+23
2024-07-19Refactor `get_app_manifes`Sebastian Holmin2-26/+12
Removing the async allowed the code to be greatly simplified, and likely doesn't impact performance anyway.
2024-07-19Replace implicit cache folder with `--package-folder` argSebastian Holmin3-21/+24
2024-07-19Change default log level from `DEBUG` to `INFO`Sebastian Holmin1-1/+1
This will not affect `ci-runtests.sh` as the log level is set to `DEBUG` using the `RUST_LOG` env variable. Most debug logs are not relevant when creating new integration and running them locally, so this is a more sane default.
2024-07-19Add error message on failed `rootlesskit` cmdSebastian Holmin1-1/+3
2024-07-19Clarify valid arguments for `--curent-app` and `--previous-app`Sebastian Holmin1-2/+11
2024-07-19Make previous app version and gui e2e binaries optionalSebastian Holmin7-48/+73
2024-07-16Add E2E test of CVE-2019-14899 mitigationJoakim Hulthe4-2/+373
2024-07-16Account for CARGO_TARGET_DIR in e2e test-managerJoakim Hulthe2-16/+29
2024-07-16Fix dns e2e testsJoakim Hulthe1-3/+15
2024-06-26Enable integration test for DAITA on macOSDavid Lönnhager4-9/+3
2024-06-25Add simple e2e test for connecting with DAITASebastian Holmin2-2/+37
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-06-25Add `daita` as a Cargo cfg variableMarkus Pettersson1-1/+1
Gate DAITA compilation on `"cargo::rustc-cfg=daita"` emitted in build files per platform.
2024-06-25Enable DAITA for linux in CLI and typesSebastian Holmin3-0/+6
2024-06-24Run `cargo +nightly fmt`Sebastian Holmin1-2/+1
2024-06-10Retry DNS lookup for API in test managerDavid Lönnhager5-58/+95
2024-05-29Run UI tests for macOS split tunnelingDavid Lönnhager1-8/+29
2024-05-16Increase boot timeout for testing guestsDavid Lönnhager1-1/+1
2024-04-30Enable integration tests for macOS split tunnelingDavid Lönnhager3-5/+21
2024-04-22Limit execution of `test_installation_idempotency`Markus Pettersson1-22/+30
2024-04-19Add gui test to test frameworkOskar Nyberg1-7/+67
2024-04-19Add ensure_logged_in test helper functionOskar Nyberg1-0/+15
2024-04-17Remove dummy interfacesDavid Lönnhager3-70/+3
2024-04-17Prevent ARP lookups during LAN testsDavid Lönnhager3-60/+48
2024-04-17Run nightly formatter for testsDavid Lönnhager1-2/+2
2024-04-12Reset daemon environment when neededMarkus Pettersson2-6/+29
2024-04-12Upgrade `pcap` to `1.3`Markus Pettersson1-1/+1
This fixes type checking of `pcap` functions on Windows. Without it, type checking of the ``test-runner` crate from a Linux host to a Windows target would not work.
2024-04-12Do not panic in DNS testsMarkus Pettersson1-16/+23
Avoid panicking in more tests - prefer to propagate an error value instead.
2024-04-12Get rid of type casting for test function argumentMarkus Pettersson4-31/+27
Replace the `Box<dyn Any>` type for the third test function argument 'mullvad client' - replace it with a dedicated enum type `MullvadClientArgument`. This change got rid of the type casting from `Box<dyn Any>` to `MullvadProxyClient` done in the `test_function` macro.
2024-04-12Refactor custom access method integration testsMarkus Pettersson1-44/+50
Break out the Shadowsocks and SOCKS5 custom access method tests into seperate tests. The intent is to increase logging granularity.