-
Notifications
You must be signed in to change notification settings - Fork 5
/
runner-ex5.yml
41 lines (36 loc) · 1.08 KB
/
runner-ex5.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Example 5: Parallel execution using dynamic devices
# Run two tests on separate random iPhone devices in my pool, this can be US/EU
apiVersion: v1alpha
kind: xcuitest
sauce:
# This can be `eu-central-1` or `us-west-1`
region: eu-central-1
concurrency: 10
xcuitest:
app: apps/MyDemoApp.ipa
testApp: apps/MyDemoAppUITests-Runner.ipa
suites:
- name: "Example 5 - testProductListingPageAddMultipleItemsToCart"
testOptions:
class: ["MyDemoAppUITests.ProductListingPageTest/testProductListingPageAddMultipleItemsToCart"]
devices:
# Run on whatever iPhone device is available
- name: "iPhone.*"
platformVersion: "14"
- name: "Example 5 - testProductDetailsColorsSwitch"
testOptions:
class: ["MyDemoAppUITests.ProductDetailsTest/testProductDetailsColorsSwitch"]
devices:
# Run on whatever iPhone device is available
- name: "iPhone.*"
platformVersion: "14"
reporters:
junit:
enabled: true
filename: ./reports/example-5-report.xml
artifacts:
download:
when: always
match:
- "*"
directory: ./reports/