Skip to content

Commit

Permalink
Update the available devices list (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
tothszabi authored Jul 24, 2024
1 parent 4fdef16 commit 6e407ab
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 190 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ You can also run this step directly with [Bitrise CLI](https://github.com/bitris
| Key | Description | Flags | Default |
| --- | --- | --- | --- |
| `app_path` | The path to the app to test (APK or AAB). By default `android-build` and `android-build-for-ui-testing` Steps export the `BITRISE_APK_PATH` Env Var, so you won't need to change this input. Can specify an APK (`$BITRISE_APK_PATH`) or AAB (Android App Bundle) as input (`$BITRISE_AAB_PATH`). If nothing is specified then the Step will use a default empty Application APK. This will help the library instrumentation tests as it can be used as a shell where the tests will be running. | | `$BITRISE_APK_PATH` |
| `test_devices` | Format: One device configuration per line and the parameters are separated with `,` in the order of: `deviceID,version,language,orientation` For example: `NexusLowRes,24,en,portrait` `NexusLowRes,24,en,landscape` Available devices and its versions: ``` ┌─────────────────────┬──────────┬──────────────────────────────────────────┬─────────┬─────────────┬─────────────────────────┬──────────────────┐ │ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ ├─────────────────────┼──────────┼──────────────────────────────────────────┼─────────┼─────────────┼─────────────────────────┼──────────────────┤ │ AmatiTvEmulator │ Google │ Google TV Amati │ VIRTUAL │ 1080 x 1920 │ 29 │ beta=29 │ │ AndroidTablet270dpi │ Generic │ Generic 720x1600 Android tablet @ 270dpi │ VIRTUAL │ 1600 x 720 │ 30 │ │ │ GoogleTvEmulator │ Google │ Google TV │ VIRTUAL │ 720 x 1280 │ 30 │ beta=30 │ │ MediumPhone.arm │ Generic │ MediumPhone (ARM) │ VIRTUAL │ 2400 x 1080 │ 26,27,28,29,30,32,33 │ preview=33, beta │ │ MediumTablet.arm │ Generic │ MediumTablet (ARM) │ VIRTUAL │ 2560 x 1600 │ 26,27,28,29,30,32,33 │ preview=33, beta │ │ Nexus10 │ Samsung │ Nexus 10 │ VIRTUAL │ 2560 x 1600 │ 19,21,22 │ deprecated=19 │ │ Nexus4 │ LG │ Nexus 4 │ VIRTUAL │ 1280 x 768 │ 19,21,22 │ deprecated=19 │ │ Nexus5 │ LG │ Nexus 5 │ VIRTUAL │ 1920 x 1080 │ 19,21,22,23 │ deprecated=19 │ │ Nexus5X │ LG │ Nexus 5X │ VIRTUAL │ 1920 x 1080 │ 23,24,25,26 │ │ │ Nexus6 │ Motorola │ Nexus 6 │ VIRTUAL │ 2560 x 1440 │ 21,22,23,24,25 │ │ │ Nexus6P │ Google │ Nexus 6P │ VIRTUAL │ 2560 x 1440 │ 23,24,25,26,27 │ │ │ Nexus7 │ Asus │ Nexus 7 (2012) │ VIRTUAL │ 1280 x 800 │ 19,21,22 │ deprecated=19 │ │ Nexus7_clone_16_9 │ Generic │ Nexus7 clone, DVD 16:9 aspect ratio │ VIRTUAL │ 1280 x 720 │ 23,24,25,26 │ beta │ │ Nexus9 │ HTC │ Nexus 9 │ VIRTUAL │ 2048 x 1536 │ 21,22,23,24,25 │ │ │ NexusLowRes │ Generic │ Low-resolution MDPI phone │ VIRTUAL │ 640 x 360 │ 23,24,25,26,27,28,29,30 │ │ │ Pixel2 │ Google │ Pixel 2 │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30 │ │ │ Pixel2.arm │ Google │ Pixel 2 (ARM) │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30,32,33 │ preview=33, beta │ │ Pixel3 │ Google │ Pixel 3 │ VIRTUAL │ 2160 x 1080 │ 30 │ │ │ SmallPhone.arm │ Generic │ SmallPhone (ARM) │ VIRTUAL │ 1280 x 720 │ 26,27,28,29,30,32,33 │ preview=33, beta │ └─────────────────────┴──────────┴──────────────────────────────────────────┴─────────┴─────────────┴─────────────────────────┴──────────────────┘ ``` | required | `NexusLowRes,24,en,portrait` |
| `test_devices` | Format: One device configuration per line and the parameters are separated with `,` in the order of: `deviceID,version,language,orientation` For example: `NexusLowRes,24,en,portrait` `NexusLowRes,24,en,landscape` Available devices and its versions: ``` ┌─────────────────────┬──────────┬──────────────────────────────────────────┬─────────┬─────────────┬────────────────────────────┬─────────┐ │ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ ├─────────────────────┼──────────┼──────────────────────────────────────────┼─────────┼─────────────┼────────────────────────────┼─────────┤ │ AmatiTvEmulator │ Google │ Google TV Amati │ VIRTUAL │ 1080 x 1920 │ 29 │ beta=29 │ │ AndroidTablet270dpi │ Generic │ Generic 720x1600 Android tablet @ 270dpi │ VIRTUAL │ 1600 x 720 │ 30 │ │ │ GoogleTvEmulator │ Google │ Google TV │ VIRTUAL │ 720 x 1280 │ 30 │ beta=30 │ │ MediumPhone.arm │ Generic │ Medium Phone, 6.4in/16cm (Arm) │ VIRTUAL │ 2400 x 1080 │ 26,27,28,29,30,31,32,33,34 │ │ │ MediumTablet.arm │ Generic │ Medium Tablet, 10in/25cm (Arm) │ VIRTUAL │ 2560 x 1600 │ 26,27,28,29,30,31,32,33,34 │ │ │ Nexus5X │ LG │ Nexus 5X │ VIRTUAL │ 1920 x 1080 │ 24,25,26 │ │ │ Nexus6 │ Motorola │ Nexus 6 │ VIRTUAL │ 2560 x 1440 │ 24,25 │ │ │ Nexus6P │ Google │ Nexus 6P │ VIRTUAL │ 2560 x 1440 │ 24,25,26,27 │ │ │ Nexus7_clone_16_9 │ Generic │ Nexus7 clone, DVD 16:9 aspect ratio │ VIRTUAL │ 1280 x 720 │ 24,25,26 │ beta │ │ Nexus9 │ HTC │ Nexus 9 │ VIRTUAL │ 2048 x 1536 │ 24,25 │ │ │ NexusLowRes │ Generic │ Low-resolution MDPI phone │ VIRTUAL │ 640 x 360 │ 24,25,26,27,28,29,30 │ │ │ Pixel2 │ Google │ Pixel 2 │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30 │ │ │ Pixel2.arm │ Google │ Pixel 2 (Arm) │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30,31,32,33 │ │ │ Pixel3 │ Google │ Pixel 3 │ VIRTUAL │ 2160 x 1080 │ 30 │ │ │ SmallPhone.arm │ Generic │ Small Phone, 4.7in/12cm (Arm) │ VIRTUAL │ 1280 x 720 │ 26,27,28,29,30,31,32,33,34 │ │ └─────────────────────┴──────────┴──────────────────────────────────────────┴─────────┴─────────────┴────────────────────────────┴─────────┘ ``` | required | `NexusLowRes,24,en,portrait` |
| `test_type` | The type of your test you want to run on the devices. Find more properties below in the selected test type's group. | required | `robo` |
| `test_apk_path` | The path to the APK that contains instrumentation tests. To build this, you can run the [Build for UI testing](https://bitrise.io/integrations/steps/android-build-for-ui-testing) Step (before this Step). | | `$BITRISE_TEST_APK_PATH` |
| `inst_test_runner_class` | The fully-qualified Java class name of the instrumentation test runner (leave empty to use the last name extracted from the APK manifest). | | |
Expand Down
203 changes: 60 additions & 143 deletions maintenance/maintenance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ form: VIRTUAL
formFactor: PHONE
id: MediumPhone.arm
manufacturer: Generic
name: MediumPhone (ARM)
name: Medium Phone, 6.4in/16cm (Arm)
screenDensity: 420
screenX: 1080
screenY: 2400
Expand All @@ -166,18 +166,18 @@ supportedVersionIds[1]: 27
supportedVersionIds[2]: 28
supportedVersionIds[3]: 29
supportedVersionIds[4]: 30
supportedVersionIds[5]: 32
supportedVersionIds[6]: 33
tags[0]: preview=33
tags[1]: beta
supportedVersionIds[5]: 31
supportedVersionIds[6]: 32
supportedVersionIds[7]: 33
supportedVersionIds[8]: 34
---
brand: Google
codename: MediumTablet.arm
form: VIRTUAL
formFactor: TABLET
id: MediumTablet.arm
manufacturer: Generic
name: MediumTablet (ARM)
name: Medium Tablet, 10in/25cm (Arm)
screenDensity: 320
screenX: 1600
screenY: 2560
Expand All @@ -187,55 +187,10 @@ supportedVersionIds[1]: 27
supportedVersionIds[2]: 28
supportedVersionIds[3]: 29
supportedVersionIds[4]: 30
supportedVersionIds[5]: 32
supportedVersionIds[6]: 33
tags[0]: preview=33
tags[1]: beta
---
brand: Google
codename: Nexus10
form: VIRTUAL
formFactor: TABLET
id: Nexus10
manufacturer: Samsung
name: Nexus 10
screenDensity: 320
screenX: 1600
screenY: 2560
supportedAbis[0]: x86
supportedVersionIds[0]: 21
supportedVersionIds[1]: 22
---
brand: Google
codename: Nexus4
form: VIRTUAL
formFactor: PHONE
id: Nexus4
manufacturer: LG
name: Nexus 4
screenDensity: 320
screenX: 768
screenY: 1280
supportedAbis[0]: x86
supportedVersionIds[0]: 21
supportedVersionIds[1]: 22
---
brand: Google
codename: Nexus5
form: VIRTUAL
formFactor: PHONE
id: Nexus5
manufacturer: LG
name: Nexus 5
screenDensity: 480
screenX: 1080
screenY: 1920
supportedAbis[0]: x86
supportedAbis[1]: 23:armeabi
supportedAbis[2]: 23:armeabi-v7a
supportedVersionIds[0]: 21
supportedVersionIds[1]: 22
supportedVersionIds[2]: 23
supportedVersionIds[5]: 31
supportedVersionIds[6]: 32
supportedVersionIds[7]: 33
supportedVersionIds[8]: 34
---
brand: Google
codename: Nexus5X
Expand All @@ -256,10 +211,9 @@ supportedAbis[5]: 25:armeabi
supportedAbis[6]: 25:armeabi-v7a
supportedAbis[7]: 26:armeabi
supportedAbis[8]: 26:armeabi-v7a
supportedVersionIds[0]: 23
supportedVersionIds[1]: 24
supportedVersionIds[2]: 25
supportedVersionIds[3]: 26
supportedVersionIds[0]: 24
supportedVersionIds[1]: 25
supportedVersionIds[2]: 26
---
brand: Google
codename: Nexus6
Expand All @@ -278,11 +232,8 @@ supportedAbis[3]: 24:armeabi
supportedAbis[4]: 24:armeabi-v7a
supportedAbis[5]: 25:armeabi
supportedAbis[6]: 25:armeabi-v7a
supportedVersionIds[0]: 21
supportedVersionIds[1]: 22
supportedVersionIds[2]: 23
supportedVersionIds[3]: 24
supportedVersionIds[4]: 25
supportedVersionIds[0]: 24
supportedVersionIds[1]: 25
---
brand: Google
codename: Nexus6P
Expand All @@ -305,25 +256,10 @@ supportedAbis[7]: 26:armeabi
supportedAbis[8]: 26:armeabi-v7a
supportedAbis[9]: 27:armeabi
supportedAbis[10]: 27:armeabi-v7a
supportedVersionIds[0]: 23
supportedVersionIds[1]: 24
supportedVersionIds[2]: 25
supportedVersionIds[3]: 26
supportedVersionIds[4]: 27
---
brand: Google
codename: Nexus7
form: VIRTUAL
formFactor: TABLET
id: Nexus7
manufacturer: Asus
name: Nexus 7 (2012)
screenDensity: 213
screenX: 800
screenY: 1280
supportedAbis[0]: x86
supportedVersionIds[0]: 21
supportedVersionIds[1]: 22
supportedVersionIds[0]: 24
supportedVersionIds[1]: 25
supportedVersionIds[2]: 26
supportedVersionIds[3]: 27
---
brand: Generic
codename: Nexus7_clone_16_9
Expand All @@ -344,10 +280,9 @@ supportedAbis[5]: 25:armeabi
supportedAbis[6]: 25:armeabi-v7a
supportedAbis[7]: 26:armeabi
supportedAbis[8]: 26:armeabi-v7a
supportedVersionIds[0]: 23
supportedVersionIds[1]: 24
supportedVersionIds[2]: 25
supportedVersionIds[3]: 26
supportedVersionIds[0]: 24
supportedVersionIds[1]: 25
supportedVersionIds[2]: 26
tags[0]: beta
---
brand: Google
Expand All @@ -367,11 +302,8 @@ supportedAbis[3]: 24:armeabi
supportedAbis[4]: 24:armeabi-v7a
supportedAbis[5]: 25:armeabi
supportedAbis[6]: 25:armeabi-v7a
supportedVersionIds[0]: 21
supportedVersionIds[1]: 22
supportedVersionIds[2]: 23
supportedVersionIds[3]: 24
supportedVersionIds[4]: 25
supportedVersionIds[0]: 24
supportedVersionIds[1]: 25
---
brand: Generic
codename: NexusLowRes
Expand All @@ -383,37 +315,28 @@ name: Low-resolution MDPI phone
screenDensity: 160
screenX: 360
screenY: 640
supportedAbis[0]: 23:armeabi
supportedAbis[1]: 23:armeabi-v7a
supportedAbis[2]: 23:x86
supportedAbis[0]: x86
supportedAbis[1]: 23:armeabi
supportedAbis[2]: 23:armeabi-v7a
supportedAbis[3]: 24:armeabi
supportedAbis[4]: 24:armeabi-v7a
supportedAbis[5]: 24:x86
supportedAbis[6]: 25:armeabi
supportedAbis[7]: 25:armeabi-v7a
supportedAbis[8]: 25:x86
supportedAbis[9]: 26:armeabi
supportedAbis[10]: 26:armeabi-v7a
supportedAbis[11]: 26:x86
supportedAbis[12]: 27:armeabi
supportedAbis[13]: 27:armeabi-v7a
supportedAbis[14]: 27:x86
supportedAbis[15]: 28:armeabi
supportedAbis[16]: 28:armeabi-v7a
supportedAbis[17]: 28:x86
supportedAbis[18]: 29:armeabi
supportedAbis[19]: 29:armeabi-v7a
supportedAbis[20]: 29:x86
supportedAbis[21]: 30:x86
supportedAbis[22]: 31:x86_64
supportedVersionIds[0]: 23
supportedVersionIds[1]: 24
supportedVersionIds[2]: 25
supportedVersionIds[3]: 26
supportedVersionIds[4]: 27
supportedVersionIds[5]: 28
supportedVersionIds[6]: 29
supportedVersionIds[7]: 30
supportedAbis[5]: 25:armeabi
supportedAbis[6]: 25:armeabi-v7a
supportedAbis[7]: 26:armeabi
supportedAbis[8]: 26:armeabi-v7a
supportedAbis[9]: 27:armeabi
supportedAbis[10]: 27:armeabi-v7a
supportedAbis[11]: 28:armeabi
supportedAbis[12]: 28:armeabi-v7a
supportedAbis[13]: 29:armeabi
supportedAbis[14]: 29:armeabi-v7a
supportedVersionIds[0]: 24
supportedVersionIds[1]: 25
supportedVersionIds[2]: 26
supportedVersionIds[3]: 27
supportedVersionIds[4]: 28
supportedVersionIds[5]: 29
supportedVersionIds[6]: 30
---
brand: Google
codename: Pixel2
Expand All @@ -425,20 +348,15 @@ name: Pixel 2
screenDensity: 441
screenX: 1080
screenY: 1920
supportedAbis[0]: 26:armeabi
supportedAbis[1]: 26:armeabi-v7a
supportedAbis[2]: 26:x86
supportedAbis[0]: x86
supportedAbis[1]: 26:armeabi
supportedAbis[2]: 26:armeabi-v7a
supportedAbis[3]: 27:armeabi
supportedAbis[4]: 27:armeabi-v7a
supportedAbis[5]: 27:x86
supportedAbis[6]: 28:armeabi
supportedAbis[7]: 28:armeabi-v7a
supportedAbis[8]: 28:x86
supportedAbis[9]: 29:armeabi
supportedAbis[10]: 29:armeabi-v7a
supportedAbis[11]: 29:x86
supportedAbis[12]: 30:x86
supportedAbis[13]: 31:x86_64
supportedAbis[5]: 28:armeabi
supportedAbis[6]: 28:armeabi-v7a
supportedAbis[7]: 29:armeabi
supportedAbis[8]: 29:armeabi-v7a
supportedVersionIds[0]: 26
supportedVersionIds[1]: 27
supportedVersionIds[2]: 28
Expand All @@ -451,7 +369,7 @@ form: VIRTUAL
formFactor: PHONE
id: Pixel2.arm
manufacturer: Google
name: Pixel 2 (ARM)
name: Pixel 2 (Arm)
screenDensity: 420
screenX: 1080
screenY: 1920
Expand All @@ -461,10 +379,9 @@ supportedVersionIds[1]: 27
supportedVersionIds[2]: 28
supportedVersionIds[3]: 29
supportedVersionIds[4]: 30
supportedVersionIds[5]: 32
supportedVersionIds[6]: 33
tags[0]: preview=33
tags[1]: beta
supportedVersionIds[5]: 31
supportedVersionIds[6]: 32
supportedVersionIds[7]: 33
---
brand: google
codename: Pixel3
Expand All @@ -485,7 +402,7 @@ form: VIRTUAL
formFactor: PHONE
id: SmallPhone.arm
manufacturer: Generic
name: SmallPhone (ARM)
name: Small Phone, 4.7in/12cm (Arm)
screenDensity: 320
screenX: 720
screenY: 1280
Expand All @@ -495,7 +412,7 @@ supportedVersionIds[1]: 27
supportedVersionIds[2]: 28
supportedVersionIds[3]: 29
supportedVersionIds[4]: 30
supportedVersionIds[5]: 32
supportedVersionIds[6]: 33
tags[0]: preview=33
tags[1]: beta`
supportedVersionIds[5]: 31
supportedVersionIds[6]: 32
supportedVersionIds[7]: 33
supportedVersionIds[8]: 34`
Loading

0 comments on commit 6e407ab

Please sign in to comment.