-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathSnapfile
45 lines (35 loc) · 1.41 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
# Uncomment the lines below you want to change by removing the # in the beginning
# A list of devices you want to take the screenshots from
devices([
"iPhone 15 Pro",
"iPhone 15 Pro Max",
# "iPhone 16 Pro",
"iPad Pro (12.9-inch) (6th generation)",
])
languages([
"en-US",
"de-DE",
"pl-PL",
"nl-NL",
"fr-FR",
"da-DA",
])
# The name of the scheme which contains the UI Tests
# scheme("SchemeName")
# Where should the resulting screenshots be stored?
# output_directory("./screenshots")
# remove the '#' to clear all previously generated screenshots before creating new ones
# clear_previous_screenshots(true)
# Remove the '#' to set the status bar to 9:41 AM, and show full battery and reception. See also override_status_bar_arguments for custom options.
override_status_bar(true)
headless(false)
override_status_bar_arguments("--time 9:41 --dataNetwork wifi --wifiMode active --wifiBars 3 --cellularMode active --operatorName '' --cellularBars 4 --batteryState charged --batteryLevel 100 --dataNetwork wifi")
# Arguments to pass to the app on launch. See https://docs.fastlane.tools/actions/snapshot/#launch-arguments
launch_arguments([
"-PreviewMode YES -PreviewURL "+ENV["PreviewURL"]+" -PreviewToken "+ENV["PreviewToken"],
])
# For more information about all available options run
# fastlane action snapshot
concurrent_simulators(false)
# only_testing(["Screenshots"])
# testplan("Screenshots.xctestplan")