-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSnapfile
49 lines (37 loc) · 1.08 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
# 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 6",
"iPhone 6 Plus",
"iPhone 5",
"iPhone 4s",
"iPad Air"
])
languages([
'en-US',
])
# Where should the resulting screenshots be stored?
screenshots_path "./screenshots"
# Just what you think
clear_previous_screenshots
# JavaScript UIAutomation file
# js_file './snapshot.js'
# Where is your project (or workspace)? Provide the full path here
# project_path './YourProject.xcworkspace'
# By default, the latest version should be used automatically. If you want to change it, do it here
# ios_version '8.1'
# Custom Callbacks
# setup_for_device_change do |device|
# puts "Preparing device: #{device}"
# end
# setup_for_language_change do |lang, device|
# puts "Running #{lang} on #{device}"
# system("./popuplateDatabase.sh")
# end
# teardown_language do |lang, device|
# puts "Finished with #{lang} on #{device}"
# end
# teardown_device do |device|
# puts "Cleaning device #{device}"
# system("./cleanup.sh")
# end