-
Notifications
You must be signed in to change notification settings - Fork 5
/
runner-ex3.yml
41 lines (36 loc) · 1.06 KB
/
runner-ex3.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 3: Run each test on its own device
# Run two tests on separately available 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 3 - testProductListingPageAddMultipleItemsToCart"
testOptions:
class: ["MyDemoAppUITests.ProductListingPageTest/testProductListingPageAddMultipleItemsToCart"]
devices:
# Run on a random iPhone 11 device
- name: "iPhone 11.*"
platformVersion: "14"
- name: "Example 3 - testProductDetailsColorsSwitch"
testOptions:
class: ["MyDemoAppUITests.ProductDetailsTest/testProductDetailsColorsSwitch"]
devices:
# Run on a random iPhone X device
- name: "iPhone X.*"
platformVersion: "14"
reporters:
junit:
enabled: true
filename: ./reports/example-3-report.xml
artifacts:
download:
when: always
match:
- "*"
directory: ./reports/