diff options
| author | David Göransson <david.goransson@mullvad.net> | 2025-07-31 15:38:13 +0200 |
|---|---|---|
| committer | David Göransson <david.goransson@mullvad.net> | 2025-08-01 09:48:08 +0200 |
| commit | 754677a648ad6580f5546f0b83ea5765cfd97b3d (patch) | |
| tree | f7c1c32538f06a262c5d3086f4e4512af288eb4a /android/test/e2e | |
| parent | 212c9c1aabe17763f0ed807b2d3fca15f2305c8b (diff) | |
| download | mullvadvpn-754677a648ad6580f5546f0b83ea5765cfd97b3d.tar.xz mullvadvpn-754677a648ad6580f5546f0b83ea5765cfd97b3d.zip | |
Fix ktor parsing error
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.
Diffstat (limited to 'android/test/e2e')
| -rw-r--r-- | android/test/e2e/build.gradle.kts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/android/test/e2e/build.gradle.kts b/android/test/e2e/build.gradle.kts index c8c91df24f..5fe61b878f 100644 --- a/android/test/e2e/build.gradle.kts +++ b/android/test/e2e/build.gradle.kts @@ -114,8 +114,11 @@ dependencies { implementation(libs.androidx.test.runner) implementation(libs.androidx.test.rules) implementation(libs.androidx.test.uiautomator) + implementation(libs.androidx.ui.test) implementation(libs.kermit) implementation(libs.junit.jupiter.api) + implementation(libs.junit5.android.test.core) + implementation(libs.junit5.android.test.compose) implementation(libs.junit5.android.test.extensions) implementation(libs.junit5.android.test.runner) implementation(libs.kotlin.stdlib) @@ -126,11 +129,9 @@ dependencies { implementation(libs.ktor.serialization.kotlinx.json) implementation(libs.ktor.client.content.negotiation) implementation(libs.ktor.client.resources) - androidTestUtil(libs.androidx.test.orchestrator) // Needed or else the app crashes when launched - implementation(libs.junit5.android.test.compose) implementation(libs.compose.material3) // Need these for forcing later versions of dependencies |
