summaryrefslogtreecommitdiffhomepage
path: root/android/test/mockapi
AgeCommit message (Collapse)AuthorFilesLines
2025-05-26Migrate remaining deps and versions to version catalogsDavid Göransson1-10/+9
2025-05-21Supply IP address when using API overrideDavid Göransson1-1/+6
Previously we did a DNS lookup for Stagemole and Devmole however, this causes problem when starting the app with no internet and is different from how the app performs in production mode. This commit removes that logic in order to align closer to what we expect in prod.
2025-05-12Convert all test to use Page patternDavid Göransson9-164/+91
Converts all our last test to use the Page object pattern and clean up a bunch of old MockApi and E2E test logic.
2025-05-09Fix flaky device management testDavid Göransson1-14/+17
The device mangement test would fail because it expect the device to be removed however it was in a loading state while API request was being made. This commit allows it to be visible intiailly (loading) and then expects it to be removed.
2025-05-07Attempt to fix flakinessDavid Göransson1-0/+2
2025-04-30Move all test tags to new lib.ui.tag moduleKalle Lindström4-3/+5
2025-04-28Add mock api test for manage devices screenKalle Lindström2-0/+58
2025-04-16Replace Volley with ktorDavid Göransson1-18/+2
2025-03-07Offer to store accout number in password managerDavid Göransson1-0/+2
2025-03-03Add waitForIdle to device list testAlbin1-0/+3
Wait until the application is idle to avoid skipping input events that are filtered out depending on lifecycle state (dropUnlessResumed).
2025-02-26Remove Joda Time and use java.time package insteadKalle Lindström9-35/+34
Joda Time has been superseded by the Java 8 java.time package which has more or less the same API. This commit removes all usage of Joda Time and replaces it with the java.time classes. This is done so that we can remove the dependency on Joda Time.
2025-02-18Fix mockapi device list test wait conditionAlbin1-1/+1
2025-02-04Remove OWASP dependency check pluginAlbin1-9/+0
The OWASP DependencyCheck plugin has been replaced with `osv-scanner` which covers our use-case.
2025-01-02Remove global API endpointEmīls1-6/+1
2024-10-08Suppress complex dispatch methodDavid Göransson1-0/+1
2024-10-08Fix print stacktrace warningDavid Göransson1-2/+1
2024-10-03Make all compiler warnings errorsDavid Göransson1-1/+4
2024-09-24Set build tools version to 35.0.0David Göransson1-0/+1
2024-09-20Call dismissChangelogIfShown at the correct timeJonatan Rhodin6-9/+8
2024-09-17Format build filesDavid Göransson1-10/+7
2024-09-16Rename test timeout constantsNiklas Berglund1-2/+2
2024-08-30Initialize mullvad daemon directly in vpn service on createJonatan Rhodin1-4/+4
As a consequence move the address resolve to the daemon
2024-08-28Reformat kotlin code using updated ktfmt pluginAlbin4-8/+8
This commit mostly adds trailing commas throughout the project, but also includes a few other formatting changes.
2024-08-19Fix for failing mockapi and e2e testsNiklas Berglund1-0/+8
2024-08-13Migrate to version catalogsAlbin1-21/+21
2024-06-26Migrate log calls to kermitAlbin3-11/+10
2024-06-26Add kermit dependencyAlbin1-0/+1
2024-06-12Format xml filesAlbin1-4/+2
2024-06-10Unify account number namingAlbin9-35/+35
Use variations of "account number" rather than "account token" throughout the kotlin code base.
2024-03-11Re-enable expiry textDavid Göransson1-5/+0
2024-02-07Fix flaky account history mockapi testJonatan Rhodin1-0/+1
Add some extra time to for the login page to show to improve stability of the test.
2024-02-06Remove common lib dependency from test mockapiJonatan Rhodin3-6/+5
2024-01-31Add account expiry mockapi testJonatan Rhodin2-2/+94
2024-01-25Unify ensure login assertionJonatan Rhodin3-3/+3
2024-01-25Add test for showing and using the account historyJonatan Rhodin1-0/+49
2024-01-25Update ktfmt to version 0.16.0 and reformat filesJonatan Rhodin1-10/+5
2024-01-19Add mockapi test for handling too many devicesJonatan Rhodin7-41/+179
2024-01-18Add support for stagemole partner account testsAlbin2-1/+4
2024-01-18Add flavor support to e2e and mockapi testsAlbin1-0/+7
2024-01-15Add mockapi tests for successful and failed account creationJonatan Rhodin5-0/+68
2024-01-11Migrate mockapi tests to junit5Jonatan Rhodin4-23/+31
2024-01-11Synchronize `mullvad-api` and `mullvad-daemon` when the `api-override`Markus Pettersson1-2/+1
feature is enabled Move the logic for using overridden API endpoints for API calls from `mullvad-api::rest` to `mullvad_daemon::api`. This is in line with how the interaction between the two crates work for a normal release build, i.e. when the `api-override` feature is disabled. This commit also removes references to `force_direct_connection` in the Android code. The flag does not exist in the `mullvad-*` rust crates anymore, so it would be erroneous to try to serialize/deserialize the value from the Android client.
2023-12-29Add automate logout ui tests using mockApisaber safavi1-0/+40
2023-12-18Fix changes dialog dismiss in mockapi testsAlbin1-0/+4
2023-10-16Refactor custom api endpoint configAlbin1-11/+7
2023-10-12Fix login uiautomator flakinessDavid Göransson1-1/+10
2023-10-02Fix data class issuesDavid Göransson1-0/+3
2023-10-02Add general Konsist testsDavid Göransson1-2/+1
2023-09-21Add billing and infrastructure flavor dimensionsAlbin1-0/+3
Flavor dimension usage: * `billing` - used to build separate artifacts where (1) different policies are followed and (2) different dependencies are used. * `infrastructure` - used to improve development and testing against non-production environments.
2023-09-21Apply automatic formatting and cleanup of gradle filesAlbin1-6/+2