From f2c64e5ef094576455d2e98f0557a965c5a57895 Mon Sep 17 00:00:00 2001 From: baizg1107 Date: Wed, 2 Mar 2022 14:35:40 +0800 Subject: [PATCH] fix features incompative --- features/docs/defining_steps/nested_steps.feature | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/features/docs/defining_steps/nested_steps.feature b/features/docs/defining_steps/nested_steps.feature index dfe9b5f..3e9993a 100644 --- a/features/docs/defining_steps/nested_steps.feature +++ b/features/docs/defining_steps/nested_steps.feature @@ -122,6 +122,7 @@ Feature: Nested Steps """ error (RuntimeError) ./features/step_definitions/steps2.rb:5:in `/I have a couple turtles/' + /usr/share/ruby/forwardable.rb:238:in `invoke_dynamic_step' ./features/step_definitions/steps2.rb:2:in `/two turtles/' features/test_feature_1.feature:3:in `Given two turtles' @@ -161,13 +162,16 @@ Feature: Nested Steps Scenario: Call directly Given a step that calls an undefined step Undefined dynamic step: "this does not exist" (Cucumber::UndefinedDynamicStep) + /usr/share/ruby/forwardable.rb:238:in `invoke_dynamic_step' ./features/step_definitions/steps.rb:2:in `/^a step that calls an undefined step$/' features/call_undefined_step_from_step_def.feature:4:in `Given a step that calls an undefined step' Scenario: Call via another Given a step that calls a step that calls an undefined step Undefined dynamic step: "this does not exist" (Cucumber::UndefinedDynamicStep) + /usr/share/ruby/forwardable.rb:238:in `invoke_dynamic_step' ./features/step_definitions/steps.rb:2:in `/^a step that calls an undefined step$/' + /usr/share/ruby/forwardable.rb:238:in `invoke_dynamic_step' ./features/step_definitions/steps.rb:6:in `/^a step that calls a step that calls an undefined step$/' features/call_undefined_step_from_step_def.feature:7:in `Given a step that calls a step that calls an undefined step' @@ -177,5 +181,4 @@ Feature: Nested Steps 2 scenarios (2 failed) 2 steps (2 failed) - """ -- 2.27.0