From 505d36788daaf46016ae692bef16ced00b177887 Mon Sep 17 00:00:00 2001 From: Joshua Moody Date: Mon, 31 Jul 2017 11:33:30 +0200 Subject: [PATCH] Cucumber: update profiles for iOS 10 --- bin/test/simulators.sh | 3 +-- config/cucumber.yml | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/bin/test/simulators.sh b/bin/test/simulators.sh index 24d40fd..00857b0 100755 --- a/bin/test/simulators.sh +++ b/bin/test/simulators.sh @@ -4,6 +4,5 @@ make app rm -f reports/*json bundle exec cucumber -p default -bundle exec cucumber -p simulator_six_plus +bundle exec cucumber -p simulator_six bundle exec cucumber -p simulator_five - diff --git a/config/cucumber.yml b/config/cucumber.yml index 37b7dcf..8211dbe 100644 --- a/config/cucumber.yml +++ b/config/cucumber.yml @@ -41,12 +41,12 @@ sim_minor = xcode_version.minor sim_version = "(#{sim_major}.#{sim_minor})" -iphone6 = RunLoop::Device.device_with_identifier("iPhone 6s #{sim_version}").udid -iphone6_plus = RunLoop::Device.device_with_identifier("iPhone 6s Plus #{sim_version}").udid +iphone7 = RunLoop::Device.device_with_identifier("iPhone 7 #{sim_version}").udid +iphone6 = RunLoop::Device.device_with_identifier("iPhone 6s Plus #{sim_version}").udid iphone5 = RunLoop::Device.device_with_identifier("iPhone 5s #{sim_version}").udid -iphone6_report = "reports/iphone6.json" -iphone6_plus_report = "reports/iphone6-plus.json" +iphone7_report = "reports/iphone7.json" +iphone6_report = "reports/iphone6-plus.json" iphone5_report = "reports/iphone5.json" FileUtils.mkdir_p("./reports") @@ -60,13 +60,13 @@ formatter: -f <%= formatter %> NO_STOP=<%= no_stop %> simulator_vars: APP=<%= APP %> simulator_tags: --tags ~@device_only --tags ~@device -sim_six: DEVICE_TARGET=<%= iphone6 %> -f json -o <%= iphone6_report %> -sim_six_plus: DEVICE_TARGET=<%= iphone6_plus %> -f json -o <%= iphone6_plus_report %> -sim_five: DEVICE_TARGET=<%= iphone5 %> -f json -o <%= iphone5_report %> +sim_seven: DEVICE_TARGET=<%= iphone7 %> -f json -o <%= iphone7_report %> +sim_six: DEVICE_TARGET=<%= iphone6 %> -f json -o <%= iphone6_report %> +sim_five: DEVICE_TARGET=<%= iphone5 %> -f json -o <%= iphone5_report %> -default: -p simulator_vars -p simulator_tags -p formatter -p sim_six -simulator_six_plus: -p simulator_vars -p simulator_tags -p formatter -p sim_six_plus -simulator_five: -p simulator_vars -p simulator_tags -p formatter -p sim_five +default: -p simulator_vars -p simulator_tags -p formatter -p sim_seven +simulator_six: -p simulator_vars -p simulator_tags -p formatter -p sim_six +simulator_five: -p simulator_vars -p simulator_tags -p formatter -p sim_five # Launch on device. device_tags: --tags ~@simulator_only --tags ~@simulator