-
Notifications
You must be signed in to change notification settings - Fork 367
/
Copy pathSnapfile
56 lines (41 loc) · 1.3 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
54
55
56
ios_version '17.2'
# A list of devices you want to take the screenshots from
devices([
"iPhone SE (3rd generation)",
"iPhone 15 Pro",
"iPhone 15 Pro Max",
"iPad Pro 11-inch (M4)",
"iPad Pro 13-inch (M4)"
])
languages([
"en-US"
# "de-DE",
# "it-IT",
# ["pt", "pt_BR"] # Portuguese with Brazilian locale
])
# The name of the scheme which contains the screenshot UI Tests
scheme("MullvadVPN")
# The name of the test plan which contains the UI Tests
testplan("MullvadVPNScreenshots")
# Where should the resulting screenshots be stored?
output_directory("./Screenshots")
# Clear old screenshots
clear_previous_screenshots(true)
# Erase simulator before running
erase_simulator(true)
# Disable concurrent simulators to prevent too many WireGuard public keys error
concurrent_simulators(false)
# Stop right away on first error.
stop_after_first_error(true)
# Hide simulator window
headless(true)
# Disable xcodebuild output to console
suppress_xcode_output(true)
# Prevent opening HTML summary
skip_open_summary(true)
# Clean the device statusbar
override_status_bar(true)
# Arguments to pass to the app on launch. See https://docs.fastlane.tools/actions/snapshot/#launch-arguments
# launch_arguments(["-favColor red"])
# For more information about all available options run
# fastlane action snapshot