There was an error while loading. Please reload this page.
1 parent 505d367 commit f0e6f5eCopy full SHA for f0e6f5e
1 file changed
features/support/01_launch.rb
@@ -24,8 +24,16 @@ def self.launcher=(launcher)
24
# Add launch options here.
25
}
26
27
+ if RunLoop::Environment.ci?
28
+ target = RunLoop::Environment.device_target
29
+ device = RunLoop::Device.device_with_identfier(target)
30
+ RunLoop::CoreSimulator.quit_simulator
31
+ RunLoop::CoreSimulator.erase(device)
32
+ core_sim = RunLoop::CoreSimulator.new(device, nil)
33
+ core_sim.launch_simulator
34
+ end
35
+
36
launcher.relaunch(options)
- launcher.calabash_notify(self)
37
end
38
39
After do |scenario|
0 commit comments