summaryrefslogtreecommitdiffhomepage
path: root/android/test/e2e
AgeCommit message (Collapse)AuthorFilesLines
2025-10-27Increase test timeoutDavid Göransson1-25/+27
2025-10-10Decrease the time we wait for a connection to fail during testsJonatan Rhodin1-1/+1
2025-10-09Implement LWO on androidJonatan Rhodin3-2/+61
2025-10-06Document runBlocking in TrafficGeneratorDavid Göransson1-1/+2
A comment is added to clarify that `runBlocking` is used intentionally to prevent tests from skipping delays. The `suspend` modifier, which was redundant, has been removed from the `generateTraffic` function.
2025-09-12Add better support for variant filtersDavid Göransson1-8/+2
2025-09-03Add connection test for QUICDavid Göransson2-0/+15
2025-09-03Add UI support for QUIC settingJonatan Rhodin1-0/+51
2025-08-14Set relay to current country on first startKalle Lindström1-0/+44
Sets the default relay selection to the current country (as determined by am.i.mullvad.net). If the current country does not have any relays the country with the closest relay is choosen instead. In non-release builds of the Android app we do not bundle a relay list in the APK, and the relay list is fetched when the user logs in. So one of the following can happen: 1. Geolocation request returns, we have a relay list. 2. Geolocation request returns, we do not yet have a relay list. 3. Relay list request returns, we have a geolocation. 4. Relay list request returns, we do not have a geolocation. In 1. and 3. we can update the default location. In 2. we have to wait until the relay list is fetched from the api until we can update the default location. 4. is unlikely to happen but could happen if am.i.mullvad is down.
2025-08-01Fix ktor parsing errorDavid Göransson1-2/+3
App module had transitive dependencies using a older version at runtime of serializationx. However, when compiling the test:e2e module a later version than 1.8.0 was used through ktor. This caused deserialization in runtime to go looking for a method that didn't exist. By putting an explicit version in the app module we make sure to use a version that is compatible with ktor.
2025-07-31Fix tests failing when the notification allowed dialog is not shownJonatan Rhodin1-13/+2
2025-07-10Add e2e test for Google play purchasesDavid Göransson6-4/+127
2025-07-10Fix typoDavid Göransson1-1/+2
2025-07-03Fix gradle kotlinOptions warningsDavid Göransson1-3/+6
2025-06-19Remove deprecated junit platformJonatan Rhodin1-7/+0
2025-05-26Migrate remaining deps and versions to version catalogsDavid Göransson1-11/+10
2025-05-23Increase timeout for long testDavid Göransson1-43/+45
2025-05-23Fix e2e testDavid Göransson1-1/+1
2025-05-23Fix wrong country and city for stagemole daita relayJonatan Rhodin1-1/+5
2025-05-22Fix e2e production testsJonatan Rhodin6-22/+68
2025-05-22Add Post quantum connection testJonatan Rhodin1-12/+41
2025-05-21Fix urlsDavid Göransson2-2/+2
2025-05-21Update with new property referencesDavid Göransson1-15/+10
2025-05-21Unify usage of gradle propertiesDavid Göransson15-88/+84
This commit does multiple changes to how we work with properties. - Instead of relying on `e2e.properties` and `local.properties` only use the `gradle.properties` as per standard gradle. - Naming of properties are changed to have a coherent structure. - Allow for setting stagemole and prod account separately. - Consolidate all the default values into `gradle.properties`
2025-05-19Add API blocked e2e connection testKalle Lindström4-6/+146
2025-05-16Use block wireguard new apiKalle Lindström2-2/+2
2025-05-13Avoid waiting for stable when active window is switchedDavid Göransson2-11/+11
NullPointerException was probably caused by the active window being changing while we called `waitForStableInActiveWindow`.
2025-05-12Convert all test to use Page patternDavid Göransson9-63/+18
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-12Increase router capture request timeouts by 15 secondsJonatan Rhodin1-0/+4
2025-05-09Fix a few blockers preventing us from bumping ktorDavid Göransson3-19/+13
2025-04-30Move all test tags to new lib.ui.tag moduleKalle Lindström1-0/+1
2025-04-23Enable e2e leak that no longer failsAlbin1-2/+0
The test previously failed to find test tags in the VPN settings lazy list. However, after changes to that screen the test once again seem to work as expected.
2025-04-16Replace Volley with ktorDavid Göransson19-500/+580
2025-04-04Add shadowsocks obfuscation e2e testKalle Lindström3-55/+59
2025-02-26Remove Joda Time and use java.time package insteadKalle Lindström4-24/+29
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 formattingDavid Göransson1-1/+1
2025-02-14Disable broken e2e testAlbin1-0/+2
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-27Refactor e2e leak testsAlbin3-46/+76
The main purpose of this refactoring is to reduce the multiple layers of negation and to generally reduce the risk of misunderstanding the test code.
2025-01-27Fix incorrect assertion by inverting itAlbin1-1/+1
2025-01-27Use parter api for account creationAlbin2-5/+8
2025-01-27Improve e2e test api client error handlingAlbin1-0/+5
Co-authored-by: Niklas Berglund <niklas.berglund@gmail.com>
2025-01-13Add leak test for when VPN settings changeNiklas Berglund5-26/+118
2024-12-13Migrate remaining e2e tests to POPNiklas Berglund3-72/+83
2024-12-06Migrate ConnectionTest e2e tests to use POPNiklas Berglund1-91/+135
2024-12-03Implement UDP-over-TCP e2e test and firewall API clientNiklas Berglund17-26/+312
2024-12-03Implement basic of page object patternNiklas Berglund1-18/+26
2024-11-18Remove bad formattingDavid Göransson1-6/+6
2024-11-18Convert build to runtime argumentsDavid Göransson5-10/+21
2024-11-18Remove unused codeDavid Göransson1-1/+1
2024-11-18Accept env variable overridesDavid Göransson1-1/+5