diff --git a/spec/datadog/ci/contrib/cucumber/features/step_definitions/steps_10869591397955694135.rb b/spec/datadog/ci/contrib/cucumber/features/step_definitions/steps_10869591397955694135.rb deleted file mode 100644 index 84fe8ff6f..000000000 --- a/spec/datadog/ci/contrib/cucumber/features/step_definitions/steps_10869591397955694135.rb +++ /dev/null @@ -1,47 +0,0 @@ -require_relative "helpers/helper" - -max_flaky_test_failures = 4 -flaky_test_executions = 0 - -Before do - Datadog::CI.active_test.set_tag("cucumber_before_hook_executed", "true") -end - -After do - Datadog::CI.active_test.set_tag("cucumber_after_hook_executed", "true") -end - -AfterStep do - Datadog::CI.active_test.set_tag("cucumber_after_step_hook_executed", "true") -end - -Then "datadog" do - Helper.help? -end - -Then "failure" do - expect(1 + 1).to eq(3) -end - -Then "pending" do - pending("implementation") -end - -Then "skip" do - skip_this_scenario -end - -Then(/I add (-?\d+) and (-?\d+)/) do |n1, n2| - @res = n1.to_i + n2.to_i -end - -Then(/the result should be (-?\d+)/) do |res| - expect(@res).to eq(res.to_i) -end - -Then "flaky" do - if flaky_test_executions < max_flaky_test_failures - flaky_test_executions += 1 - raise "Flaky test failure" - end -end