Created
February 6, 2021 02:21
-
-
Save wf-adamhei/7e43449edf20c59aac1a876a04d41cf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc “Run UI Tests on iPhone 11 Pro” | |
lane :ui_tests | |
tests_to_run = options[:only_testing] | |
clear_derived_data(derived_data_path: derived_data_path) | |
sh(“xcrun simctl shutdown booted”) | |
sh(“xcrun simctl erase all”) | |
sh(“xcrun instruments -w ‘iPhone 11 Pro (13.3) [‘ -t Blank”) | |
scan(workspace: “Wealthfront.xcworkspace”, | |
scheme: “WealthfrontUITests”, | |
output_style: “basic”, | |
devices: [“iPhone 11 Pro”], | |
clean: true, | |
derived_data_path: derived_data_path, | |
skip_build: true, | |
only_testing: "#{tests_to_run}") | |
sh(“xcrun simctl shutdown booted”) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment