Skip to content

Commit 94898f3

Browse files
authored
Update step inputs (#48)
* Update step inputs * Update available devices
1 parent 393566b commit 94898f3

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ You can also run this step directly with [Bitrise CLI](https://github.com/bitris
5353
| Key | Description | Flags | Default |
5454
| --- | --- | --- | --- |
5555
| `zip_path` | Open finder, and navigate to the directory you designated for Derived Data output. Open the folder for your project, then the Build/Products folders inside it. You should see a folder Debug-iphoneos and PROJECT_NAME_iphoneos_DEVELOPMENT_TARGET-arm64.xctestrun. Select them both, then right-click on one of them and select Compress 2 items. | required | `$BITRISE_TEST_BUNDLE_ZIP_PATH` |
56-
| `test_devices` | Format: One device configuration per line and the parameters are separated with `,` in the order of: `deviceID,version,language,orientation` For example: `iphone8,14.7,en,portrait` `iphone8,14.7,en,landscape` Available devices and its versions: ``` ┌─────────────┬────────────────────────┬────────────────┬──────────────┐ │ MODEL_ID │ NAME │ OS_VERSION_IDS │ TAGS │ ├─────────────┼────────────────────────┼────────────────┼──────────────┤ │ ipad10 │ iPad (10th generation) │ 16.6 │ │ │ iphone11pro │ iPhone 11 Pro │ 16.6 │ │ │ iphone13pro │ iPhone 13 Pro │ 15.7,16.6 │ default │ │ iphone14pro │ iPhone 14 Pro │ 16.6 │ │ │ iphone15 │ iPhone 15 │ 18.0 │ preview=18.0 │ │ iphone15pro │ iPhone 15 Pro │ 18.0 │ preview=18.0 │ │ iphone8 │ iPhone 8 │ 15.7,16.6 │ │ └─────────────┴────────────────────────┴────────────────┴──────────────┘ ``` Device and OS Capacity: ``` ┌─────────────┬────────────────────────┬───────────────┬─────────────────┐ │ MODEL_ID │ MODEL_NAME │ OS_VERSION_ID │ DEVICE_CAPACITY │ ├─────────────┼────────────────────────┼───────────────┼─────────────────┤ │ ipad10 │ iPad (10th generation) │ 16.6 │ Low │ │ iphone11pro │ iPhone 11 Pro │ 16.6 │ High │ │ iphone13pro │ iPhone 13 Pro │ 15.7 │ High │ │ iphone13pro │ iPhone 13 Pro │ 16.6 │ High │ │ iphone14pro │ iPhone 14 Pro │ 16.6 │ High │ │ iphone15 │ iPhone 15 │ 18.0 │ Medium │ │ iphone15pro │ iPhone 15 Pro │ 18.0 │ Medium │ │ iphone8 │ iPhone 8 │ 15.7 │ Medium │ │ iphone8 │ iPhone 8 │ 16.6 │ High │ └─────────────┴────────────────────────┴───────────────┴─────────────────┘ ``` | required | `iphone13pro,16.6,en,portrait` |
56+
| `test_devices` | Format: One device configuration per line and the parameters are separated with `,` in the order of: `deviceID,version,language,orientation` For example: `iphone8,14.7,en,portrait` `iphone8,14.7,en,landscape` Available devices and its versions: ``` ┌─────────────┬────────────────────────┬────────────────┬──────────────┐ │ MODEL_ID │ NAME │ OS_VERSION_IDS │ TAGS │ ├─────────────┼────────────────────────┼────────────────┼──────────────┤ │ ipad10 │ iPad (10th generation) │ 16.6 │ │ │ iphone11pro │ iPhone 11 Pro │ 16.6 │ │ │ iphone13pro │ iPhone 13 Pro │ 15.7,16.6 │ default │ │ iphone14pro │ iPhone 14 Pro │ 16.6 │ │ │ iphone15 │ iPhone 15 │ 18.0 │ preview=18.0 │ │ iphone15pro │ iPhone 15 Pro │ 18.0 │ preview=18.0 │ │ iphone8 │ iPhone 8 │ 15.7,16.6 │ │ └─────────────┴────────────────────────┴────────────────┴──────────────┘ ``` Device and OS Capacity: ``` ┌─────────────┬────────────────────────┬───────────────┬─────────────────┐ │ MODEL_ID │ MODEL_NAME │ OS_VERSION_ID │ DEVICE_CAPACITY │ ├─────────────┼────────────────────────┼───────────────┼─────────────────┤ │ ipad10 │ iPad (10th generation) │ 16.6 │ Medium │ │ iphone11pro │ iPhone 11 Pro │ 16.6 │ High │ │ iphone13pro │ iPhone 13 Pro │ 15.7 │ High │ │ iphone13pro │ iPhone 13 Pro │ 16.6 │ High │ │ iphone14pro │ iPhone 14 Pro │ 16.6 │ High │ │ iphone15 │ iPhone 15 │ 18.0 │ Medium │ │ iphone15pro │ iPhone 15 Pro │ 18.0 │ Medium │ │ iphone8 │ iPhone 8 │ 15.7 │ Medium │ │ iphone8 │ iPhone 8 │ 16.6 │ High │ └─────────────┴────────────────────────┴───────────────┴─────────────────┘ ``` | required | `iphone13pro,16.6,en,portrait` |
57+
| `num_flaky_test_attempts` | Specifies the number of times a test execution should be reattempted if one or more of its test cases fail for any reason. An execution that initially fails but succeeds on any reattempt is reported as FLAKY. The maximum number of reruns allowed is 10. (Default: 0, which implies no reruns.) | required | `0` |
5758
| `test_timeout` | Max time a test execution is allowed to run before it is automatically canceled. The default value is 900 (15 min). Duration in seconds with up to nine fractional digits. Example: "3.5". | | `900` |
5859
| `download_test_results` | If this input is set to `true` all files generated in the test run will be downloaded. Otherwise, no any file will be downloaded. | required | `false` |
59-
| `num_flaky_test_attempts` | Specifies the number of times a test execution should be reattempted if one or more of its test cases fail for any reason. An execution that initially fails but succeeds on any reattempt is reported as FLAKY. The maximum number of reruns allowed is 10. (Default: 0, which implies no reruns.) | required | `0` |
6060
| `api_base_url` | The URL where test API is accessible. | required | `https://vdt.bitrise.io/test` |
6161
| `api_token` | The token required to authenticate with the API. | required, sensitive | `$ADDON_VDTESTING_API_TOKEN` |
6262
</details>

maintenance/maintenance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ deviceCapabilities[20]: arkit
153153
formFactor: TABLET
154154
id: ipad10
155155
name: iPad (10th generation)
156-
perVersionInfo[0].deviceCapacity: DEVICE_CAPACITY_LOW
156+
perVersionInfo[0].deviceCapacity: DEVICE_CAPACITY_MEDIUM
157157
perVersionInfo[0].versionId: 16.6
158158
screenDensity: 264
159159
screenX: 1640

step.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ inputs:
9797
┌─────────────┬────────────────────────┬───────────────┬─────────────────┐
9898
│ MODEL_ID │ MODEL_NAME │ OS_VERSION_ID │ DEVICE_CAPACITY │
9999
├─────────────┼────────────────────────┼───────────────┼─────────────────┤
100-
│ ipad10 │ iPad (10th generation) │ 16.6 │ Low
100+
│ ipad10 │ iPad (10th generation) │ 16.6 │ Medium
101101
│ iphone11pro │ iPhone 11 Pro │ 16.6 │ High │
102102
│ iphone13pro │ iPhone 13 Pro │ 15.7 │ High │
103103
│ iphone13pro │ iPhone 13 Pro │ 16.6 │ High │
@@ -134,7 +134,7 @@ inputs:
134134
┌─────────────┬────────────────────────┬───────────────┬─────────────────┐
135135
│ MODEL_ID │ MODEL_NAME │ OS_VERSION_ID │ DEVICE_CAPACITY │
136136
├─────────────┼────────────────────────┼───────────────┼─────────────────┤
137-
│ ipad10 │ iPad (10th generation) │ 16.6 │ Low
137+
│ ipad10 │ iPad (10th generation) │ 16.6 │ Medium
138138
│ iphone11pro │ iPhone 11 Pro │ 16.6 │ High │
139139
│ iphone13pro │ iPhone 13 Pro │ 15.7 │ High │
140140
│ iphone13pro │ iPhone 13 Pro │ 16.6 │ High │
@@ -146,6 +146,16 @@ inputs:
146146
└─────────────┴────────────────────────┴───────────────┴─────────────────┘
147147
```
148148
is_required: true
149+
- num_flaky_test_attempts: "0"
150+
opts:
151+
title: Number of times a test execution is reattempted
152+
summary: Specifies the number of times a test execution should be reattempted if one or more of its test cases fail for any reason.
153+
description: |-
154+
Specifies the number of times a test execution should be reattempted if one or more of its test cases fail for any reason.
155+
156+
An execution that initially fails but succeeds on any reattempt is reported as FLAKY.
157+
The maximum number of reruns allowed is 10. (Default: 0, which implies no reruns.)
158+
is_required: true
149159
- test_timeout: 900
150160
opts:
151161
category: Debug
@@ -166,17 +176,9 @@ inputs:
166176
value_options:
167177
- "false"
168178
- "true"
169-
- num_flaky_test_attempts: "0"
170-
opts:
171-
title: Number of times a test execution is reattempted
172-
summary: Specifies the number of times a test execution should be reattempted if one or more of its test cases fail for any reason.
173-
description: |-
174-
Specifies the number of times a test execution should be reattempted if one or more of its test cases fail for any reason. An execution that
175-
initially fails but succeeds on any reattempt is reported as FLAKY.
176-
The maximum number of reruns allowed is 10. (Default: 0, which implies no reruns.)
177-
is_required: true
178179
- api_base_url: https://vdt.bitrise.io/test
179180
opts:
181+
category: Debug
180182
title: Test API's base URL
181183
summary: The URL where test API is accessible.
182184
description: |
@@ -185,6 +187,7 @@ inputs:
185187
is_dont_change_value: true
186188
- api_token: $ADDON_VDTESTING_API_TOKEN
187189
opts:
190+
category: Debug
188191
title: API Token
189192
summary: The token required to authenticate with the API.
190193
description: |

0 commit comments

Comments
 (0)