File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -334,9 +334,9 @@ def test_variable_reuse(pytester):
334334 """\
335335 Feature: Example parameters reuse
336336 Scenario Outline: Check for example parameter re-use
337- Given I get <param>
338- When I set param to "other"
339- Then I check <param>
337+ Given the param is initially set from the example table as <param>
338+ When a step arg of the same name is set to "other"
339+ Then the param is still set from the example table as <param>
340340
341341 Examples:
342342 | param |
@@ -355,17 +355,17 @@ def test_variable_reuse(pytester):
355355 scenarios('outline.feature')
356356
357357
358- @given(parsers.parse('I get {param}'))
358+ @given(parsers.parse('the param is initially set from the example table as {param}'))
359359 def _(param):
360360 dump_obj(("param1", param))
361361
362362
363- @when(parsers.re('I set param to "(?P<param>.+)"'))
363+ @when(parsers.re('a step arg of the same name is set to "(?P<param>.+)"'))
364364 def _(param):
365365 dump_obj(("param2", param))
366366
367367
368- @then(parsers.parse('I check {param}'))
368+ @then(parsers.parse('the param is still set from the example table as {param}'))
369369 def _(param):
370370 dump_obj(("param3", param))
371371
You can’t perform that action at this time.
0 commit comments