summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/package.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin1-1/+1
2024-12-17Fix TODOs by replacing triple type with a dedicated structMarkus Pettersson1-27/+78
2024-12-17Attach target arch to VM configMarkus Pettersson1-4/+6
2024-08-28Add package-dir to "Could not find app" errorJoakim Hulthe1-5/+7
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-4/+6
2024-08-16Refactor test cleanup logicSebastian Holmin1-1/+1
Cleanup is now done BEFORE tests are run and takes care of resetting the daemon state more thoroughly. The daemon will now always be installed, logged in and disconnected with all settings reset before the next test. Tests are therefore not able to depend on the previous test leaving the test-runner in a certain state and must instead take care of setting up their own state themselves. `test_upgrade_app` gets special treatment to be able to run before the new app version is automatically installed. Refactor `run_tests.rs`
2024-08-09Restructure test scriptsSebastian Holmin1-7/+7
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-09Add `--gui-package` flagSebastian Holmin1-8/+23
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-07-19Refactor `find_app`Sebastian Holmin1-63/+33
2024-07-19Rename `--previous-app` to `--app-package-to-upgrade-from`Sebastian Holmin1-5/+5
2024-07-19Rename `--current-app` to `--app-package`Sebastian Holmin1-8/+8
2024-07-19Refactor `get_app_manifes`Sebastian Holmin1-25/+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 Holmin1-7/+10
2024-07-19Make previous app version and gui e2e binaries optionalSebastian Holmin1-7/+16
2024-02-15Fix unhelpful error messageMarkus Pettersson1-3/+4
2023-10-20Add desktop end-to-end testsDavid Lönnhager1-0/+158
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>