-
Notifications
You must be signed in to change notification settings - Fork 288
/
Snapfile
53 lines (44 loc) · 1.21 KB
/
Snapfile
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
42
43
44
45
46
47
48
49
50
51
52
53
devices(
[
'iPhone 8',
'iPhone 8 Plus',
'iPhone SE',
'iPhone Xs',
'iPhone Xs Max',
'iPad Pro (12.9-inch) (2nd generation)',
'iPad Pro (10.5-inch)',
'iPad Pro (12.9-inch) (3rd generation)'
]
)
languages(
[
'de-DE',
'en-US',
# es-* doesn't have enough coverage as of 06/19.
# "es-ES",
# "es-MX",
'es',
'fi',
'fr',
'it',
'nb',
'nl',
'ru',
'sv',
'zh-Hans',
'zh-Hant'
]
)
scheme('HomeAssistantUITests')
clear_previous_screenshots(true)
localize_simulator(true)
output_simulator_logs(true)
namespace_log_files(true)
result_bundle(true)
# rubocop:disable Layout/LineLength
base_args = "-useDemo YES -url #{ENV.fetch('HOMEASSISTANT_SNAPSHOT_URL', nil)} -token #{ENV.fetch('HOMEASSISTANT_SNAPSHOT_TOKEN', nil)} -webhookID #{ENV.fetch('HOMEASSISTANT_SNAPSHOT_WEBHOOK_ID', nil)} -webhookSecret #{ENV.fetch('HOMEASSISTANT_SNAPSHOT_WEBHOOK_SECRET', nil)} -cameraEntityID camera.staticshot"
launch_arguments([
# Lat/Long is NYC
"#{base_args} -mapPin1Latitude 40.785091 -mapPin1Longitude -73.968285 -mapPin2Latitude 40.758896 -mapPin2Latitude -73.985130"
])
# rubocop:enable Layout/LineLength