lib/sauce/cucumber.rb in sauce-cucumber-3.0.0 vs lib/sauce/cucumber.rb in sauce-cucumber-3.1.0

- old
+ new

@@ -116,9 +116,16 @@ job = Sauce::Job.new('id' => session_id, 'name' => job_name, 'custom-data' => custom_data) job.save unless job.nil? + # This allow us to execute steps (n) times + unless scenario.instance_of? ::Cucumber::Ast::OutlineTable::ExampleRow + scenario.steps.each do |step| + step.instance_variable_set(:@skip_invoke, false) + end + end + block.call # Quit the driver to allow for the generation of a new session_id driver.finish!