Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated ui test dependencies and benchmark device #2353

Merged
merged 1 commit into from Nov 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sauce/sentry-uitest-android-benchmark-lite.yml
Expand Up @@ -20,7 +20,7 @@ suites:

- name: "Android 11 (api 30)"
devices:
- id: Google_Pixel_2_real_us # Google Pixel 2 - api 30 (11)
- id: OnePlus_Nord_N200_5G_real_us # OnePlus Nord N200 5G - api 30 (11)

artifacts:
download:
Expand Down
2 changes: 1 addition & 1 deletion .sauce/sentry-uitest-android-benchmark.yml
Expand Up @@ -28,7 +28,7 @@ suites:
devices:
- id: OnePlus_9_Pro_real_us # OnePlus 9 Pro - api 30 (11) - high end
- id: Google_Pixel_4_real_us # Google Pixel 4 - api 30 (11) - mid end
- id: Google_Pixel_2_real_us # Google Pixel 2 - api 30 (11) - low end
- id: OnePlus_Nord_N200_5G_real_us # OnePlus Nord N200 5G - api 30 (11) - low end

- name: "Android 10 (api 29)"
devices:
Expand Down
14 changes: 6 additions & 8 deletions buildSrc/src/main/java/Config.kt
Expand Up @@ -139,18 +139,16 @@ object Config {
}

object TestLibs {
private val androidxTestVersion = "1.4.0"

// todo This beta version is needed to run ui tests on Android 13.
// It will be replaced by androidxTestVersion when 1.5.0 will be out.
private val androidxTestVersionBeta = "1.5.0-beta01"
private val espressoVersion = "3.4.0"
// todo These rc versions are needed to run ui tests on Android 13.
// They will be replaced by stable version when 1.5.0/3.5.0 will be out.
private val androidxTestVersion = "1.5.0-rc01"
private val espressoVersion = "3.5.0-rc01"

val androidJUnitRunner = "androidx.test.runner.AndroidJUnitRunner"
val kotlinTestJunit = "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
val androidxCore = "androidx.test:core:$androidxTestVersionBeta"
val androidxCore = "androidx.test:core:$androidxTestVersion"
val androidxRunner = "androidx.test:runner:$androidxTestVersion"
val androidxTestCoreKtx = "androidx.test:core-ktx:$androidxTestVersionBeta"
val androidxTestCoreKtx = "androidx.test:core-ktx:$androidxTestVersion"
val androidxTestRules = "androidx.test:rules:$androidxTestVersion"
val espressoCore = "androidx.test.espresso:espresso-core:$espressoVersion"
val espressoIdlingResource = "androidx.test.espresso:espresso-idling-resource:$espressoVersion"
Expand Down