Skip to content

Commit 6e407ab

Browse files
authored
Update the available devices list (#99)
1 parent 4fdef16 commit 6e407ab

File tree

3 files changed

+99
-190
lines changed

3 files changed

+99
-190
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ You can also run this step directly with [Bitrise CLI](https://github.com/bitris
6161
| Key | Description | Flags | Default |
6262
| --- | --- | --- | --- |
6363
| `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` |
64-
| `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` |
64+
| `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` |
6565
| `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` |
6666
| `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` |
6767
| `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). | | |

maintenance/maintenance_test.go

+60-143
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ form: VIRTUAL
156156
formFactor: PHONE
157157
id: MediumPhone.arm
158158
manufacturer: Generic
159-
name: MediumPhone (ARM)
159+
name: Medium Phone, 6.4in/16cm (Arm)
160160
screenDensity: 420
161161
screenX: 1080
162162
screenY: 2400
@@ -166,18 +166,18 @@ supportedVersionIds[1]: 27
166166
supportedVersionIds[2]: 28
167167
supportedVersionIds[3]: 29
168168
supportedVersionIds[4]: 30
169-
supportedVersionIds[5]: 32
170-
supportedVersionIds[6]: 33
171-
tags[0]: preview=33
172-
tags[1]: beta
169+
supportedVersionIds[5]: 31
170+
supportedVersionIds[6]: 32
171+
supportedVersionIds[7]: 33
172+
supportedVersionIds[8]: 34
173173
---
174174
brand: Google
175175
codename: MediumTablet.arm
176176
form: VIRTUAL
177177
formFactor: TABLET
178178
id: MediumTablet.arm
179179
manufacturer: Generic
180-
name: MediumTablet (ARM)
180+
name: Medium Tablet, 10in/25cm (Arm)
181181
screenDensity: 320
182182
screenX: 1600
183183
screenY: 2560
@@ -187,55 +187,10 @@ supportedVersionIds[1]: 27
187187
supportedVersionIds[2]: 28
188188
supportedVersionIds[3]: 29
189189
supportedVersionIds[4]: 30
190-
supportedVersionIds[5]: 32
191-
supportedVersionIds[6]: 33
192-
tags[0]: preview=33
193-
tags[1]: beta
194-
---
195-
brand: Google
196-
codename: Nexus10
197-
form: VIRTUAL
198-
formFactor: TABLET
199-
id: Nexus10
200-
manufacturer: Samsung
201-
name: Nexus 10
202-
screenDensity: 320
203-
screenX: 1600
204-
screenY: 2560
205-
supportedAbis[0]: x86
206-
supportedVersionIds[0]: 21
207-
supportedVersionIds[1]: 22
208-
---
209-
brand: Google
210-
codename: Nexus4
211-
form: VIRTUAL
212-
formFactor: PHONE
213-
id: Nexus4
214-
manufacturer: LG
215-
name: Nexus 4
216-
screenDensity: 320
217-
screenX: 768
218-
screenY: 1280
219-
supportedAbis[0]: x86
220-
supportedVersionIds[0]: 21
221-
supportedVersionIds[1]: 22
222-
---
223-
brand: Google
224-
codename: Nexus5
225-
form: VIRTUAL
226-
formFactor: PHONE
227-
id: Nexus5
228-
manufacturer: LG
229-
name: Nexus 5
230-
screenDensity: 480
231-
screenX: 1080
232-
screenY: 1920
233-
supportedAbis[0]: x86
234-
supportedAbis[1]: 23:armeabi
235-
supportedAbis[2]: 23:armeabi-v7a
236-
supportedVersionIds[0]: 21
237-
supportedVersionIds[1]: 22
238-
supportedVersionIds[2]: 23
190+
supportedVersionIds[5]: 31
191+
supportedVersionIds[6]: 32
192+
supportedVersionIds[7]: 33
193+
supportedVersionIds[8]: 34
239194
---
240195
brand: Google
241196
codename: Nexus5X
@@ -256,10 +211,9 @@ supportedAbis[5]: 25:armeabi
256211
supportedAbis[6]: 25:armeabi-v7a
257212
supportedAbis[7]: 26:armeabi
258213
supportedAbis[8]: 26:armeabi-v7a
259-
supportedVersionIds[0]: 23
260-
supportedVersionIds[1]: 24
261-
supportedVersionIds[2]: 25
262-
supportedVersionIds[3]: 26
214+
supportedVersionIds[0]: 24
215+
supportedVersionIds[1]: 25
216+
supportedVersionIds[2]: 26
263217
---
264218
brand: Google
265219
codename: Nexus6
@@ -278,11 +232,8 @@ supportedAbis[3]: 24:armeabi
278232
supportedAbis[4]: 24:armeabi-v7a
279233
supportedAbis[5]: 25:armeabi
280234
supportedAbis[6]: 25:armeabi-v7a
281-
supportedVersionIds[0]: 21
282-
supportedVersionIds[1]: 22
283-
supportedVersionIds[2]: 23
284-
supportedVersionIds[3]: 24
285-
supportedVersionIds[4]: 25
235+
supportedVersionIds[0]: 24
236+
supportedVersionIds[1]: 25
286237
---
287238
brand: Google
288239
codename: Nexus6P
@@ -305,25 +256,10 @@ supportedAbis[7]: 26:armeabi
305256
supportedAbis[8]: 26:armeabi-v7a
306257
supportedAbis[9]: 27:armeabi
307258
supportedAbis[10]: 27:armeabi-v7a
308-
supportedVersionIds[0]: 23
309-
supportedVersionIds[1]: 24
310-
supportedVersionIds[2]: 25
311-
supportedVersionIds[3]: 26
312-
supportedVersionIds[4]: 27
313-
---
314-
brand: Google
315-
codename: Nexus7
316-
form: VIRTUAL
317-
formFactor: TABLET
318-
id: Nexus7
319-
manufacturer: Asus
320-
name: Nexus 7 (2012)
321-
screenDensity: 213
322-
screenX: 800
323-
screenY: 1280
324-
supportedAbis[0]: x86
325-
supportedVersionIds[0]: 21
326-
supportedVersionIds[1]: 22
259+
supportedVersionIds[0]: 24
260+
supportedVersionIds[1]: 25
261+
supportedVersionIds[2]: 26
262+
supportedVersionIds[3]: 27
327263
---
328264
brand: Generic
329265
codename: Nexus7_clone_16_9
@@ -344,10 +280,9 @@ supportedAbis[5]: 25:armeabi
344280
supportedAbis[6]: 25:armeabi-v7a
345281
supportedAbis[7]: 26:armeabi
346282
supportedAbis[8]: 26:armeabi-v7a
347-
supportedVersionIds[0]: 23
348-
supportedVersionIds[1]: 24
349-
supportedVersionIds[2]: 25
350-
supportedVersionIds[3]: 26
283+
supportedVersionIds[0]: 24
284+
supportedVersionIds[1]: 25
285+
supportedVersionIds[2]: 26
351286
tags[0]: beta
352287
---
353288
brand: Google
@@ -367,11 +302,8 @@ supportedAbis[3]: 24:armeabi
367302
supportedAbis[4]: 24:armeabi-v7a
368303
supportedAbis[5]: 25:armeabi
369304
supportedAbis[6]: 25:armeabi-v7a
370-
supportedVersionIds[0]: 21
371-
supportedVersionIds[1]: 22
372-
supportedVersionIds[2]: 23
373-
supportedVersionIds[3]: 24
374-
supportedVersionIds[4]: 25
305+
supportedVersionIds[0]: 24
306+
supportedVersionIds[1]: 25
375307
---
376308
brand: Generic
377309
codename: NexusLowRes
@@ -383,37 +315,28 @@ name: Low-resolution MDPI phone
383315
screenDensity: 160
384316
screenX: 360
385317
screenY: 640
386-
supportedAbis[0]: 23:armeabi
387-
supportedAbis[1]: 23:armeabi-v7a
388-
supportedAbis[2]: 23:x86
318+
supportedAbis[0]: x86
319+
supportedAbis[1]: 23:armeabi
320+
supportedAbis[2]: 23:armeabi-v7a
389321
supportedAbis[3]: 24:armeabi
390322
supportedAbis[4]: 24:armeabi-v7a
391-
supportedAbis[5]: 24:x86
392-
supportedAbis[6]: 25:armeabi
393-
supportedAbis[7]: 25:armeabi-v7a
394-
supportedAbis[8]: 25:x86
395-
supportedAbis[9]: 26:armeabi
396-
supportedAbis[10]: 26:armeabi-v7a
397-
supportedAbis[11]: 26:x86
398-
supportedAbis[12]: 27:armeabi
399-
supportedAbis[13]: 27:armeabi-v7a
400-
supportedAbis[14]: 27:x86
401-
supportedAbis[15]: 28:armeabi
402-
supportedAbis[16]: 28:armeabi-v7a
403-
supportedAbis[17]: 28:x86
404-
supportedAbis[18]: 29:armeabi
405-
supportedAbis[19]: 29:armeabi-v7a
406-
supportedAbis[20]: 29:x86
407-
supportedAbis[21]: 30:x86
408-
supportedAbis[22]: 31:x86_64
409-
supportedVersionIds[0]: 23
410-
supportedVersionIds[1]: 24
411-
supportedVersionIds[2]: 25
412-
supportedVersionIds[3]: 26
413-
supportedVersionIds[4]: 27
414-
supportedVersionIds[5]: 28
415-
supportedVersionIds[6]: 29
416-
supportedVersionIds[7]: 30
323+
supportedAbis[5]: 25:armeabi
324+
supportedAbis[6]: 25:armeabi-v7a
325+
supportedAbis[7]: 26:armeabi
326+
supportedAbis[8]: 26:armeabi-v7a
327+
supportedAbis[9]: 27:armeabi
328+
supportedAbis[10]: 27:armeabi-v7a
329+
supportedAbis[11]: 28:armeabi
330+
supportedAbis[12]: 28:armeabi-v7a
331+
supportedAbis[13]: 29:armeabi
332+
supportedAbis[14]: 29:armeabi-v7a
333+
supportedVersionIds[0]: 24
334+
supportedVersionIds[1]: 25
335+
supportedVersionIds[2]: 26
336+
supportedVersionIds[3]: 27
337+
supportedVersionIds[4]: 28
338+
supportedVersionIds[5]: 29
339+
supportedVersionIds[6]: 30
417340
---
418341
brand: Google
419342
codename: Pixel2
@@ -425,20 +348,15 @@ name: Pixel 2
425348
screenDensity: 441
426349
screenX: 1080
427350
screenY: 1920
428-
supportedAbis[0]: 26:armeabi
429-
supportedAbis[1]: 26:armeabi-v7a
430-
supportedAbis[2]: 26:x86
351+
supportedAbis[0]: x86
352+
supportedAbis[1]: 26:armeabi
353+
supportedAbis[2]: 26:armeabi-v7a
431354
supportedAbis[3]: 27:armeabi
432355
supportedAbis[4]: 27:armeabi-v7a
433-
supportedAbis[5]: 27:x86
434-
supportedAbis[6]: 28:armeabi
435-
supportedAbis[7]: 28:armeabi-v7a
436-
supportedAbis[8]: 28:x86
437-
supportedAbis[9]: 29:armeabi
438-
supportedAbis[10]: 29:armeabi-v7a
439-
supportedAbis[11]: 29:x86
440-
supportedAbis[12]: 30:x86
441-
supportedAbis[13]: 31:x86_64
356+
supportedAbis[5]: 28:armeabi
357+
supportedAbis[6]: 28:armeabi-v7a
358+
supportedAbis[7]: 29:armeabi
359+
supportedAbis[8]: 29:armeabi-v7a
442360
supportedVersionIds[0]: 26
443361
supportedVersionIds[1]: 27
444362
supportedVersionIds[2]: 28
@@ -451,7 +369,7 @@ form: VIRTUAL
451369
formFactor: PHONE
452370
id: Pixel2.arm
453371
manufacturer: Google
454-
name: Pixel 2 (ARM)
372+
name: Pixel 2 (Arm)
455373
screenDensity: 420
456374
screenX: 1080
457375
screenY: 1920
@@ -461,10 +379,9 @@ supportedVersionIds[1]: 27
461379
supportedVersionIds[2]: 28
462380
supportedVersionIds[3]: 29
463381
supportedVersionIds[4]: 30
464-
supportedVersionIds[5]: 32
465-
supportedVersionIds[6]: 33
466-
tags[0]: preview=33
467-
tags[1]: beta
382+
supportedVersionIds[5]: 31
383+
supportedVersionIds[6]: 32
384+
supportedVersionIds[7]: 33
468385
---
469386
brand: google
470387
codename: Pixel3
@@ -485,7 +402,7 @@ form: VIRTUAL
485402
formFactor: PHONE
486403
id: SmallPhone.arm
487404
manufacturer: Generic
488-
name: SmallPhone (ARM)
405+
name: Small Phone, 4.7in/12cm (Arm)
489406
screenDensity: 320
490407
screenX: 720
491408
screenY: 1280
@@ -495,7 +412,7 @@ supportedVersionIds[1]: 27
495412
supportedVersionIds[2]: 28
496413
supportedVersionIds[3]: 29
497414
supportedVersionIds[4]: 30
498-
supportedVersionIds[5]: 32
499-
supportedVersionIds[6]: 33
500-
tags[0]: preview=33
501-
tags[1]: beta`
415+
supportedVersionIds[5]: 31
416+
supportedVersionIds[6]: 32
417+
supportedVersionIds[7]: 33
418+
supportedVersionIds[8]: 34`

0 commit comments

Comments
 (0)